Validation based on a choice field not working

  • 23 April 2018
  • 3 replies
  • 2 views

Badge +9

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!


3 replies

Userlevel 5
Badge +14

it should normally work.

is 'MyFieldName' a named control or item property?

can you post screenshot of the control configuration?

Badge +9

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

214580_pastedImage_1.png

This is the validation of another field that is failing:

214581_pastedImage_2.png

If I remove the last condition it works properly.

Userlevel 5
Badge +14

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

Reply