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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.