Support

Account

Home Forums Bug Reports acf_form() id not being set from $args Reply To: acf_form() id not being set from $args

  • Hi E,

    Understood. In my use case though, there are going to be multiple forms on a single page, in an accordion.

    <accordion>
      <panel>
        <acf_form()>
      </panel>
      <panel>
        <acf_form()>
      </panel>
    </accordion>

    It will actually be a 8 step form. Anyways, for this, it is good to know how to set the ID for the form so I can tie specific front end js validation checks to specific forms on the page. John’s research helps with this, but the documentation on the acf_form page, at least to me, is not very clear. Normally if I’m told I’m setting the id of the form in $args, I’d expect to see that in <form id=””>.