cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Validation based on a choice field not working

I have a form validation based on a choice field (with Yes and No options) that seems to be not working anymore. After some testing I believe there is an issue with using the field name in the validation. I created a simple validation just for that choice field to confirm this:

MyFieldName == "No" <--- Validation doesn't work

{Self} == "No" <--- Validation works

Is it a known issue? How can I use this field when validating another field?

Thanks!

Labels: (2)
Tags (1)
0 Kudos
Reply
3 Replies
Workflow Hero

Re: Validation based on a choice field not working

it should normally work.

is 'MyFieldName' a named control or item property?

can you post screenshot of the control configuration?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Validation based on a choice field not working

‌ - It is a SharePoint list field (choice) added as a named control to a task form (Nintex Forms 2013). Control configuration below:

This is the validation of another field that is failing:

If I remove the last condition it works properly.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Validation based on a choice field not working

make sure "No" option in choice list field definition doesn't have a leading/trailing space.

add 2 calculated value controls on form. for 1st one configure formula just to show value of 'BillableSite' named control.

for the 2nd control configure formula like length(BillableSite)

post how do they evaluate.

if that doesn't provide a clue why overall formula doesn't evaluate as expected, add calculated value controls to show values of Amount control and control that represents {Self} in your formula

0 Kudos
Accept as Solution Reply