Support

Account

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.