Regular Expressions - Regex
Elements input validation. Available from Symphony v20.6 and above
Last updated
Was this helpful?
Elements input validation. Available from Symphony v20.6 and above
Last updated
Was this helpful?
Input validation is your first line of defense when creating a secure application.
Symphony Elements supports input validation using regular expressions (regex) for the text field
and text area
elements.
Regular expressions can cause performance issues in the Client if the validation of the regular expression is very complex. Poorly designed regular expressions can even cause denial of service (ReDoS). Please verify that your regular expressions are safe, using the following service: .
For more information, refer to .
The following code snippets assumes that both <text-field>
and <textarea>
elements are placed within the right messageML context : <messageML>
+ <form>
including an action <button>
.