Home › Forums › Front-end Issues › Form custom fields not working › Reply To: Form custom fields not working
according to the documentation that value must be an array https://www.advancedcustomfields.com/resources/acf_form/
'field_groups' => array(7955), // Used ID of the field groups here.
There may have been code previously to convert non-array values to arrays, but I don’t know. If this was the case the developer probably removed it since the documentation clearly calls for an array here.
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.