Individual Checkboxes

For forms where you have multiple checkboxes that are required to be selected, instead of putting them all in one control, make each required option it's own Checkbox. This method allows you  to make each control required so the users must select the option to submit. 

In the example below the single checkbox option is Option 1 and Section A will only show after the user has checked the checkbox.  In the rules you will need to add [0] before .value in your code.  In Frevvo, checkboxes are treated as arrays, the [0] is used to specify the array number in the sequence and because you only one option in your control, the sequence number is 0.

if (Checkbox_ctrl_name[0].value === 'Option_1'){
  Section_A.visible = true;
} else {
  Section_A.visible = false;
}

 

Details

Article ID: 51437
Created
Tue 4/3/18 4:01 PM
Modified
Thu 4/12/18 11:34 AM