How can I validate plain text on a input field

0
Quick question: I have a field than cannot have more than 200 characters and also as to be plain text. How can I validate this?
asked
2 answers
2

Hi Helga Afonso,

You can use the regular exp in the validation microflow and restrict the attribute max length to 200. 

Maximum Length: 200

Regular Expression: '^[a-zA-Z0-9 ]*$'

 

answered
0

length($MyEntity/Attribute) <= 200 and regex('\\A[a-zA-Z0-9.,!? ]*\\z', $MyEntity/Attribute) is not recognizing regex

 

answered