Home Forums General Issues Dynamically set form ID Reply To: Dynamically set form ID

  • Hey man!

    If you want to every post on page have it’s own form, you can do something like this in your acf_form() function:

       'form_id' = 'form_' . get_the_ID(),
       'post_id' = get_the_ID()

    Assuming that you are going to place that inside the loop like that

    while(have_posts()): the_post()

    P.s.: Sorry about my english