Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 93817

Limit the amount characters of a text field based on first digit

$
0
0

Hello and thanks in advance for your help!

 

I would like to limit the amount of characters of the text field based on the first digit of the number (the text field is only limited to a number format...no decimals, no commas).

For example, if the number begins with a 3, I would like to limit the text field to allow only ten characters. I have three scenarios but if I could get started with some code and what is the best place to add it (keystroke or validation?) I can take it from there. Thanks again for your help!!


Viewing all articles
Browse latest Browse all 93817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>