Decimal input

Dear Team
I want to restrict decimal value upto 2 digit only is there any way to do this.


Hello Rakesh_Ranjan,

Use a regular expression ( as a constraint.

Use regex (.,'^[0-9]{2}') It should work for your case.

Dinesh Dongol

1 Like

Strictly speaking you also need the end-of-line tag, otherwise "12345" will match. And, if "up to 2 digits" means that "1" is OK, then try this:


BTW, you can test regex's here

1 Like