Text Box entry with a Fixed pattern??

  • 18 August 2020
  • 1 reply
  • 11 views

Userlevel 3
Badge +16

Hi,

 

Is it possible to have a text box with entry restricted to the following:

 

A Fixed Letter and 9 Numbers only

 

So the first letter must show as P (cannot be altered and be set for the user), then the user can enter any combination of 9 numbers (can't be any less than or more than 9 numbers)

 

Thanks

 


1 reply

Userlevel 5
Badge +13

A text box can use any Validation Pattern that you can build the Regex for - I'm certain it is possible do do what you are looking for. Google for the appropriate Regex, and plug it in to your text box's validation pattern and you should be good to go.

Reply