Home › Forums › General Issues › Conditional logic across rows in a repeater field › Reply To: Conditional logic across rows in a repeater field
Thanks for the code.
I tried implementing it but it gives me this error:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /home/iriscenti2016/public_html/2016/wp-includes/plugin.php on line 524
I think it is the “$this” in the add_action that causes it.
If I remove the array and leave only “unique_repeater_checkbox_enqueue_script” it does not give the error anymore and seems to work.
One last question, what should the “var $list” be if I have 2 fields?
Thanks for your time.
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.