Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Hiding form using check box

kamalams6577372
Level 1
Level 1

Hi all,

Can anyone help me how to hide and unhide a form depends on checkbox selection. 

1 Accepted Solution
Anudeep_Garnepudi
Correct answer by
Community Advisor
Community Advisor

@kamalams6577372 

Try the below snippet.

$(document).on("change", "./checkbox-name", function(e) {
    if($(this).prop("checked")) {
        // Logic Checked
    } else {
        // Logic un checked
    }
});

View solution in original post

2 Replies
Anudeep_Garnepudi
Correct answer by
Community Advisor
Community Advisor

@kamalams6577372 

Try the below snippet.

$(document).on("change", "./checkbox-name", function(e) {
    if($(this).prop("checked")) {
        // Logic Checked
    } else {
        // Logic un checked
    }
});

View solution in original post