Home Forums Front-end Issues Using acf_form for multiple post_type Reply To: Using acf_form for multiple post_type

  • Thanks for the response. Sorry for the confusion.

    My post referred to this post:

    And your answer:

    multiple pre_save_post
    The trick here is to use the ‘html_after_fields’ arg to add in a hidden input with a custom value. This will get posted to the save action which you can then use to determine which form has been posted.

    I’d like to know how to have multiple front-end forms that each create posts of different custom post types. Your response naveen009 suggested that the solution lies in the html_after_fields; but whatever the solution, I’d like to learn!

    Thanks again for a great plugin.