Home › Forums › ACF PRO › Persisting Data in Front End Form › Reply To: Persisting Data in Front End Form
Not directly.
This is only a thought and I don’t know if it will work, so you’ll need to test out the theory.
You could put the values from the ACF form submission into a SESSION value or some other persistent value. To do this you would create an acf/save_post filter http://www.advancedcustomfields.com/resources/acfsave_post/
Then to load the last values into the form when a new form is loaded you can use an acf/load_field filter. http://www.advancedcustomfields.com/resources/acfload_field/. The example shows changing field choices, but this can be used to change any ACF field argument. You can use this filter to change the default value of the field to match the last saved value.
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.