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 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.