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

Issue with validation rule & StartsWith() function

Jump to solution

Hi All,

I'm new to Nintex and i'm having an issue trying to mimic a logic rule on a previous InfoPath form using the StartsWith() function. 

The old infopath rule is checking to see if a single line of text field named "Pallet" does not start with the letter "P". I've created a new rule and applied to this field on my new Nintex form but its not entirely working as I expected. It does show a validation error when the string entered doesn't start with "P" but it is also showing the message when you enter "P" with any additional characters after it.

Anyone know why this might be the case or what I can do to correct it?

Examples:

Works as expected here

Validation goes away when you enter "P"

Any character or number added after P causes it to reappear.

Thanks,

Chris

Labels: (2)
Reply
2 Replies
Workflow Hero

Re: Issue with validation rule & StartsWith() function

Jump to solution

you have swapped parameters.

first parameter should be a string which is being scanned for a presence of second parameter.

0 Kudos
Reply
Workflow Hero

Re: Issue with validation rule & StartsWith() function

Jump to solution

Got it. Swapped the two and its working now. Thanks for your help!

Chris

Reply