Home › Forums › Front-end Issues › How to prepopulate form field with dynamic value › Reply To: How to prepopulate form field with dynamic value
Hi @maxaud
If you want to do it for a select field, you can try to follow this guide: https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/.
But in general, you should be able to modify the returned fields by using the acf/load_field and modify the returned value by using the acf/load_value filters.
I hope this helps 🙂
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.