Home › Forums › Front-end Issues › My frontend form is prefilled with previous entries all the time › Reply To: My frontend form is prefilled with previous entries all the time
Hi @naveen009
Thanks for the questions:
auto populate
This is either 1 of 2 issues:
1. Check your database post_meta table for values which have an option_name starting with “new_”. Are there any?
2. Try editing the acf_form function and simply adding a ‘autocomplete=”false” attribute to the form element’
multiple pre_save_post
The trick here is to use the ‘html_after_fields’ arg to add in a hidden input with a custom value. This will get posted to the save action which you can then use to determine which form has been posted.
Hope hat helps.
Thanks
E
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.