Home › Forums › General Issues › Need help with creating new field type with ACF › Reply To: Need help with creating new field type with ACF
Yes, i checked the generated HTML source, and played with a few versions (with brackets, in quotes…), i’m not expert in PHP…
It still not working, maybe i asked the question wrong.
So the name of the textarea is how ACF knows which field to save (not the ID or class)? So if i want two textarea, they need to have different names.
Now the working field has a name: $field[‘name’] which generates: fields[field_51fbdeb7f1609].
What should i add as a name to the second textarea, and how can i get the value of it?
I can get the value of the field with the $field[‘value’], but it’s just the value of the textare with the name: $field[‘name’].
Uhhh, maybe it’s a bit too complicated for me…
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.