Good afternoon, Dear colleagues. Please tell me how to check the input data in the client portal in a certain field? For example , you need the phone format to be 11 digits : 81111234567
Hi,
If your form is done in Forms (formerly ProForma) you can add a regex to this field.
If you search the web you'll find a lot of example to create a regex that matches your phone number format. My reference is https://regexr.com/
For an 11 digit phone number it would be something like :
<span>^(?:\d{2}-\d{3}-\d{3}-\d{3}|\d{11})$</span>
In Forms, you can add your regex and also the message to display if the input field doesn't match what you want :
Hope this helps !
Frederic Chartrand
FMX Solutions - Gold Solution Partner
How to do the same in Jira service management?
This is in JSM. It's in the "Forms" section of your project's settings.
I searched, but it doesn't seems like you can do the same on a custom field for now. So if you want to validate the input data, the solution is to use Forms.
It looks like you're new here. Sign in or register to get started.