Skip to main content
Nintex Community Menu Bar
Answer

Validation Rules for List Lookup results not working

  • May 10, 2019
  • 1 reply
  • 32 views

Forum|alt.badge.img+6

Was reading through several posts as I am searching for a solution that involves a List Lookup and validation rule. My situation is just slightly different, but very close to some of them.

 

I have a List Lookup on my form that has two drop down values (Add New Vehicle and Replacement Vehicle). These each are connected to a panel via a rule to hide/unhide depending on the value selected in the drop down (list lookup). 

 

I added validation rules so that if one selection is made (Add New Vehicle), it should only impact the other (Replacement Vehicle). However, when I test this, the validation rules fire on both selections.

 

Need some expertise from the great Nintex community. Any thoughts?

Best answer by jkweaver

Wanted to post that I was able to find the solution. Each of my selections (Year, Make, Model, VIN, and Coverage) are firing a validation rule for two things: blank response and dependent on the list lookup field selection (Add New Vehicle or Replacement Vehicle). Since this is a list lookup and not a choice list, I wasn't providing the specific lookup value, which would include in my case 1;#.

In the end the correct (and working) validation rule looks like this: isNullOrEmpty({Self})&&VehicleRequestType!="1;#Add New Vehicle"

1 reply

Forum|alt.badge.img+6
  • Author
  • Answer
  • May 13, 2019
Wanted to post that I was able to find the solution. Each of my selections (Year, Make, Model, VIN, and Coverage) are firing a validation rule for two things: blank response and dependent on the list lookup field selection (Add New Vehicle or Replacement Vehicle). Since this is a list lookup and not a choice list, I wasn't providing the specific lookup value, which would include in my case 1;#.

In the end the correct (and working) validation rule looks like this: isNullOrEmpty({Self})&&VehicleRequestType!="1;#Add New Vehicle"