Support

Account

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…