Validation logic for single select field | Community
Skip to main content
June 2, 2025
Solved

Validation logic for single select field

  • June 2, 2025
  • 2 replies
  • 613 views

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!

Best answer by skyehansen

hi, here's a link to how validation logic works.

https://experienceleague.adobe.com/en/docs/workfront/using/administration-and-setup/customize/custom-forms/design-a-form/display-skip-logic-form-designer

 

"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.

2 replies

Kurt_Jones
Community Advisor
Community Advisor
June 2, 2025

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?

ZaidaGr1Author
June 2, 2025

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

Srinija_N
June 3, 2025

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!

skyehansen
Community Advisor
skyehansenCommunity AdvisorAccepted solution
Community Advisor
June 2, 2025

hi, here's a link to how validation logic works.

https://experienceleague.adobe.com/en/docs/workfront/using/administration-and-setup/customize/custom-forms/design-a-form/display-skip-logic-form-designer

 

"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.