Javascript code for a text box that only allows specific format numerically
Hi all!
I am tryin to make a specific text box on an adobe acobat form be a specific format and only populate numbers. I need the text box to format as xx-xxxxx for a Bankruptcy Case Number. The text field needs to be able to change for multiple numbers. For example, if I need the text field to be 12-34567 and then the next time I compete the form I need it to say 98-76543. If I were to type anything other than this format, the text box won't populate - this would also include any letters that are typed, the text box would won't populate. Only format acceptable is xx-xxxxx. The dash must auto populate as well.
Thanks for you help!


