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 Elliot,
Thanks for the solution.
The pre filled form issue is solved.
Also is there a way to get the name of custom form fields from the pre_save_function.I can see that $fields[‘fields’][‘field_52859d35102ef’] will give the value of a form field but if we have a better method like get_value(“first_name”) it will be better. I mean is there a possibility to get field value directly using field names (like first_name added from administration).
Thanks,
Naveen
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.