I would like to create a validation logic where a specific value is selected on a field if user selects "Yes" on a field that precedes it.
For example, we have a radio button field question:
Urgent request?
- Yes
- No
The following field is a single select field with value options:
Urgency Level
- Standard
- Expedited
- Urgent
Can someone help with a validation logic? Thanks!
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
hi, here's a link to how validation logic works.
"If the field with the logic applied meets the defined validation conditions when a user fills out the custom form, the field is highlighted and the error message is displayed."
In other words, validation logic does not preselect a field's option for you -- it presents an error message if you select the wrong option.
Hi ZaidaGr1,
I wonder if you may be confusing validation logic with display logic? In display logic, if someone answers "yes" to first question then you can have the second question pop-in and make it a required question so the user needs to select one of the three choices...is that what you're intending?
Hi @Kurt_Jones - I realize now that I didn't fully complete my post. Here's the entirety of what we want to use validation logic for:
If user selects "No" on a field that precedes it, then the second field, which has three value options, would have a specific value selected that aligns with the "No" question - in this case No = Standard.
For example, we have a radio button field question:
Urgent request?
- Yes
- No
The following field is a single select field with value options:
Urgency Level
- Standard
- Expedited
- Urgent
Views
Replies
Total Likes
you can two different dropdown fields, one for Yes selection and other for No selection, with their respective dropdown values and have display logic on the required selection.
Is this what you are looking for? Please share more details otherwise.
Please mark my response as 'Correct Reply', if this helped you and to help others. Thanks!
Views
Replies
Total Likes
hi, here's a link to how validation logic works.
"If the field with the logic applied meets the defined validation conditions when a user fills out the custom form, the field is highlighted and the error message is displayed."
In other words, validation logic does not preselect a field's option for you -- it presents an error message if you select the wrong option.