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
@naveen009 @Elliot I did below, but still auto populate?
acf_form(array(
'post_id' => "new",
'field_groups' => array(1677),
'submit_value' => "Versturen en nog één toevoegen",
'updated_message' => false,
'form' => true,
'form_attributes' => array('autocomplete' => "off"),
));
The form element has the autocomplete = “off”…
<form id="post" class="acf-form" action="" method="post" autocomplete="off">
UPDATE: For some reason I interupted the procedure of acf_form to save a post. I think this inserted some values in the DB which caused the problems in all my ACF forms. I deleted the DB and put an old DB from yesterday back and problems solved. Still need to find a way how to solve this now: http://support.advancedcustomfields.com/forums/topic/acf_form-stop-executing-and-return-error/
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.