WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Plugin: Contact Form 7] How to use a checkbox as a togglestatus for other checkboxes??

[Plugin: Contact Form 7] How to use a checkbox as a togglestatus for other checkboxes??

  • Hello,

    I like to use one checkbox which would disable other checkboxes??

    now with CF7 i am trying
    [checkbox no_workshop id:no_workshop "no workshops"]
    and i the header i like to use some jquery to check the status of no_workshop and disable other checkboxes

    something like

    if($("no_workshop is selected) {
                $("#workshopsdiv :checkbox:not(:checked)").attr("disabled", "disabled");
            } else {
                $("#workshopsdiv :checkbox").attr("disabled", "");
            }

    or create a toggleStatus function and add an onchange with the checkbox but how???

    regards

  • The topic ‘[Plugin: Contact Form 7] How to use a checkbox as a togglestatus for other checkboxes??’ is closed to new replies.
Skip to toolbar