Question
How can I define custom pattern for text field validation? Is it possible to block user from inputting certain special characters in the form’s text field? I don’t want users to add quotes ” ” and slash / in text field because it is failing the URI encoding when using my API.
Answer
Yes you can using the Validation section of a text or password property. Right now this is the only two kinds of properties we can perform additional validation on however there is technically nothing preventing you from testing the content in the integration's javascript for additional scrutiny.
From the xMatters Web UI here is what you can do on a text or password property
Validate |
Determines whether to apply validation to the text field, based on regular expressions. If selected, the following settings become available:
|
Comments
0 commentsArticle is closed for comments.