I want to add Validation fro a text field thta should only contain Alphnumeric value and no special chractor,what can be the validation rule for this?As well as I need validatio for Pincode that it should be having only 6 digits.Phone number sold have onlt 10 digits

0
I want to add Validation for a text field that should only contain Alphnumeric value and no special chractor,what can be the validation rule for this?As well as I need validatio for Pincode that it should be having only 6 digits.Phone number should have only10 digits.
asked
2 answers
0

Hello,

In the Actio button-> Validation type as Custom and add the custom expression

image.png

Alphanumeric value and no special character validation rule :

^[a-zA-Z]*$

 

Pin code 6 digits : ^[0-9]{3}$

 

Phone number 10 digit : ^[0-9]{10}$

 

You can check this https://help.bizagi.com/bpm-suite/en/index.html?regular_expressions.htm

 

 

Hope it helps!

answered
0

Hello,

 

For mobile no validation you can add custom validation in attribute level using regular expression.

 

Or  you can validate using microfow on change of attribute or on submit button level.

Suppose requirements are :

1. field should not empty

2.10 digit no and starting digit should be 6-9 only.

3. Should not be repeated no. like 9999999999 or 0000000000 or 7777777777 etc..

 

Here I am sharing a screenshot of a microflow. You can refer this.

 

 

mobile validate.PNG

 

For other validation you can do same.

 

Hope it will helpful to you.

 

 

answered