If a user fills out a form with a single selector [(a field)] with [conditional] sections that show up after selecting an item
[if you try to submit (which should fail)] then go back to 1 item
it will still let you submit the form.
Actual Behavior
When you create a form with a Single-Select that will show/hide conditionals based off of the value, it allows you to partially fill out the required field, change back to a hide the section and submit partially filled out information.
Expected Behavior
Either
If a section has multiple required fields, if one of them is filled out, make the section required to complete the form
Don't show hidden field data on form submissions
Steps to Reproduce
1.) Create a form in form builder
2.) Add a required Single-Select field to the form with more than 1 value.
3.) Add a Section field for each required field.
4.) Within each Section add required fields.
3.) In each Section configuration set a conditional to show {this section} if [All] of the following match > [{Single-Select}] is [{n & n+}] ei show section 2 if 2,3,4... are selected
4.) Save your form
5.) Go to https://www.rocksolidchurchdemo.com/workflowentry/ {your work flow entry id}
6.) select on the selector 2
7.) Partially fill out the section 2 (the section that just populated).
8.) Go back to the selector and select 1
9.) fill out section 1, and submit
10.) See in the submissions of your form builder that you are able to submit the form although not all of the required fields in section 2 are filled out.
Issue Confirmation
[X] Perform a search on the Github Issues to see if your bug or enhancement is already reported.
[X] Try to reproduce the problem on a fresh install or on the demo site.
Description
If a user fills out a form with a single selector [(a field)] with [conditional] sections that show up after selecting an item [if you try to submit (which should fail)] then go back to 1 item it will still let you submit the form.
Actual Behavior
When you create a form with a Single-Select that will show/hide conditionals based off of the value, it allows you to partially fill out the required field, change back to a hide the section and submit partially filled out information.
Expected Behavior
Either
Steps to Reproduce
1.) Create a form in form builder 2.) Add a required Single-Select field to the form with more than 1 value. 3.) Add a Section field for each required field. 4.) Within each Section add required fields. 3.) In each Section configuration set a conditional to show {this section} if [All] of the following match > [{Single-Select}] is [{n & n+}] ei show section 2 if 2,3,4... are selected 4.) Save your form 5.) Go to https://www.rocksolidchurchdemo.com/workflowentry/ {your work flow entry id} 6.) select on the selector 2 7.) Partially fill out the section 2 (the section that just populated). 8.) Go back to the selector and select 1 9.) fill out section 1, and submit 10.) See in the submissions of your form builder that you are able to submit the form although not all of the required fields in section 2 are filled out.
Issue Confirmation
Rock Version
16.2
Client Culture Setting
en-US