cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
emilytan
Nintex Newbie

Blank or Whitespace validation

Hi,

I have a mandatory Text field with the following validation rule formula.

Visitor1=='' && (isNullOrEmpty(trim((Visitor1FirstName))||Visitor1FirstName =='') && (Visitor1LastName!='' || Visitor1Organisation!='')

The validation should work like this: if the drop down (Visitor1) is not selected then Visitor1FirstName and Visitor1LastName and Visitor1Organisation should not be empty. [See below Image]Validation fields

It work perfectly, if the these three fields were empty when Visitor1 is not selected. However, if a space was entered to any of these fields, somehow it ticketed the blank space as a value and bypass the validation.

So how to validate the blank or whitespace in Nintex form Text field?

Thanks,

Emily

Labels: (1)
0 Kudos
Reply
2 Replies
Automation Master
Automation Master

Re: Blank or Whitespace validation

can you add trim to all three textboxes in your rule?

0 Kudos
Reply
chelledavis11
Nintex Newbie

Re: Blank or Whitespace validation

Did you ever get this to work? I am having the same problem, REFERENCE:  

The TRIM worked but only some of the time. I am not sure what made it work sometimes and then not others. As a test today I removed the TRIM from one of the choices to see if the behavior changed and it did, the validation itself now work vs working in a very odd way. It would accept 1/2 of the form filled in and let the second 1/2 bypass and let the form save. It was as if the section were separate. 

0 Kudos
Reply