Support

Account

Home Forums Add-ons Repeater Field ACF PRO – Repeater field in form GET POST Reply To: ACF PRO – Repeater field in form GET POST

  • Hi @jacquesmivi

    I’m afraid I don’t understand your setup. Could you please tell me what you want to do with the $ticket_date variable?

    Regarding your issue, could you please check the value of the $repeater_key variable? Please keep in mind that the second parameter of the have_rows() function should be the post ID, so it will make more sense if you use it like this:

    if( have_rows($repeater_field, $post_id) ):

    Also, the acf/pre_save_post is executed before any saving process. If you need to do it after the data is saved, you need to use the acf/save_post hook with a priority of 20 instead. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/acfsave_post/.

    I hope this makes sense 🙂