To create PDF forms with more advanced features, such as display text
box in a special format, or do some calculations based on input of fields,
ECMAScript Language Specification. You can also google it. There are a lot of tutorials online.
- The information about formatting text boxes can be found at Acrobat
Forms API Reference. The scripts we are particularly interested in
are AFDate_KeystrokeEx, AFDate_FormatEx,
AFTime_Keystroke, AFTime_Format, AFPercent_Keystroke,
AFSpecial_Format, AFNumber_Format, AFNumber_Keystroke.
You can search for those names in the reference to get detailed information. See also:
Format text box