Skip to main content
Nintex Community Menu Bar
Solved

Validate Multiple lines of Text Box not allow special characters

  • June 27, 2024
  • 2 replies
  • 114 views
  • Translate

Forum|alt.badge.img+3
  • Rookie
  • 23 replies

Hello - I used SP2016 on premises. I would like to validate Multiple lines of Text Box (Comments field) not allow  special characters. How can I validate it with Nintex Form Validation Rule? I’m appreciated for your help. 

Best answer by SimonMuntz

Hi @YV,

Great question.
Unfortunately, the validation features do not allow for a regular expression, so you will have to use a long rule that checks if the text in the control has a special character.

The below checks for two special characters, but you must keep adding || or statements to this rule for each character you want to check.
 

contains(MLT,"?")||contains(MLT,"@")

 

View original
Did this topic help you find an answer to your question?

2 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2475 replies
  • Answer
  • June 28, 2024

Hi @YV,

Great question.
Unfortunately, the validation features do not allow for a regular expression, so you will have to use a long rule that checks if the text in the control has a special character.

The below checks for two special characters, but you must keep adding || or statements to this rule for each character you want to check.
 

contains(MLT,"?")||contains(MLT,"@")

 

Translate

Forum|alt.badge.img+3
  • Author
  • Rookie
  • 23 replies
  • June 28, 2024

It works. Thanks, SimonMuntz.

 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings