Skip to main content
Nintex Community Menu Bar

Validation to prevent non-alphanumerical characters

  • October 25, 2016
  • 3 replies
  • 17 views

Forum|alt.badge.img+1

I am curious to know if there is a way to use a rule to check for the use of non-alphanumerical characters. All I want is [a-z A-Z 0-9] to be used and no special characters. I considered using "If an advance condition is true" condition as it allows me to check for contains but I'm not sure how to code it. 

Or if there is a better way to handle this.

 

Thanks in advance.

 

3 replies

Forum|alt.badge.img+18
  • November 1, 2016

You can validate this on the Form/View level using Validation Patterns:


 


http://help.k2.com/onlinehelp/k2smartforms/userguide/4.7/default.htm#Creating_a_Custom_Pattern.html


Forum|alt.badge.img+3
  • November 4, 2016

Create a  custom validation pattern

Select the textbox ,

Go to the Properties of Control,

Click the ellipsis of Pattern in Validation

14576i35AB19B95F50607D.jpg

 

Select the Pattern for the control

 

Hope this helps

Nidhin

 

 

 


Forum|alt.badge.img+1
  • Author
  • November 7, 2016

Thank you both for the replies! I appreciate it.