Skip to main content
Solved

Validate Multiple lines of Text Box not allow special characters

  • 27 June 2024
  • 2 replies
  • 48 views

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. 

2 replies

Userlevel 6
Badge +22

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,"@")

 

Badge +3

It works. Thanks, SimonMuntz.

 

Reply