How do I remove dashes from user entered data in a field. I would like to make this an exit event. Example user types 9788-1-567-0 into the field and upon exit the field auto removes the dashes and ends up with 978815670
My Product Information:
LiveCycle Designer, Windows
Is this a LiveCycle or AcroForm PDF? How it's done depends on which forms technology you are using.
Either way, the actual removal of dashes can be done with the Core JavaScript "replace" function, which is a member of the String Object. Look it up in your Core JavaScript Reference.
Either way, the actual removal of dashes can be done with the Core JavaScript "replace" function, which is a member of the String Object. Look it up in your Core JavaScript Reference.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script