Support

Account

Home Forums ACF PRO ACF Form Change input name Reply To: ACF Form Change input name

  • I’m submitting the form values to a third party which have preset variables for the input name field so I’m looking to get the acf fields to match this, at the moment my input fields look like:

    <input id="acf-field_5644ca0ecae0b" class="" type="text" placeholder="" value="" name="acf[field_5644ca0ecae0b]">

    I need input name to be something like:

    <input id="acf-field_5644ca0ecae0b" class="" type="text" placeholder="" value="" name="answer1">

    i can achieve this with jquery but doing this stops the data being being sent to the new post which is also made by the form, I either need acf to use custom field keys or look into acf/save_post filter