I operate as a admin a online print site where clients can enter in contact info to create imprint on promotional items.
I create pdf templates with field placeholders |1.1|[address]
This template is uploaded to the print site which interprets the tags and makes them into variable fields for clients to enter in their info. The site can pull the font name, size, position, etc... from the pdf template.
The code I'm use to writing is pretty simple stuff for example to format dots instead of dashes for phone numbers like:
if (! AutoFormat(curInput, '###.###.####', 'Please enter your number in a 555.555.5555 format'))curInput.focus();
I've got no clue where to begin to do what I'm asking so a little help would be much appreciated.