Skip to main content
Nintex Community Menu Bar

Lookup field does not validate in custom validation unless something is selected

  • March 28, 2016
  • 1 reply
  • 9 views

Forum|alt.badge.img+8

I have a lookup field on the form and I do not select anything (the Please select message is showing), the custom JavaScript validation is never called.

I am assuming this is yet another bug in custom validation?   With so many bugs, it makes the feature pretty much useless.

1 reply

Forum|alt.badge.img+14
  • Scholar
  • March 28, 2016

how does your validation look like?

do you check for IsNullOrEmpty()?

once "Please select a value..." is selected in a lookup (doesn't matter whether it is default pre-selected value or selected by purpose), IsNullOrEmpty() returns true, otherwise it returns false.