Expand my Community achievements bar.

Numeric patern

Avatar

Not applicable
Is it posible into a numeric field, user to alow enter only 3 digits without using the combo future and also how to validate in case user enter less or more than 3 digits?



Thanks
3 Replies

Avatar

Not applicable
What is the combo future?



You can certainly restrict the field length to 3 chars. Using Validation Patterns you can ensure that you have 3 digits in the field or you can check the length of the field programatically by using javascript then display an appropriate message.

Avatar

Not applicable
Thanks Paul for your help!

How javascript will look for the numeric pattern?



Thanks

Avatar

Not applicable
You could use a regular expression (RegEXP) to check for a numeric pattern as well you coudl check the length.
page footer