• Resolved sajadsaadat

    (@sajadsaadat)


    Hi
    How is it possible to create group and network checkboxes?
    So that if the check box number 2 was clicked. Check boxes 1 and 3 should also be activated?

    Regards
    Sajad

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi Sajad,

    We don’t have such option.

    Regards,
    Dima

    Thread Starter sajadsaadat

    (@sajadsaadat)

    How can I write custom code for this and hook it up to the plugin?

    Or

    what plugin file do I need to change to do this?

    Is it possible to help?

    Regards
    Sajad

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Using function berocket_add_filter you can add own functionality almost the same way as WordPress PHP hooks are working.

    berocket_apply_filters('input_ckbox_changed', this, taxonomy, value, checked); – here you can check what element is selected and if it is ‘box number 2’ you can select 1 and 3 with own code.
    Also you need to add filters to this 2 hooks: ‘apply_filters_to_page’ and ‘apply_filters_to_page_partial’. If checkbox is selected with your code you need to return false for this hooks to prevent not needed ajax request.

    We are not writing custom code.

    Regards,
    Dima

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘select multi checkbox with on click widget filter’ is closed to new replies.