Home › Forums › Front-end Issues › Add-on or function that would be acf_form but for values only? › Reply To: Add-on or function that would be acf_form but for values only?
I never found a solution that would work out of the box to achieve this. In the end I added some extra arguments to the function that calls acf_form
and then I deactivate the form so that it shows all the fields but does not let the user update the form. I also added some custom html around the inputs that makes them readonly (and added a pointer-events: none
rules so the fields can’t be interacted with).
Not the best solution ever but it worked for my use case.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.