Form Field Formatting

When creating or editing a form field, it is possible to define formatting rules which are enforced through JavaScript. Field Formatting allows you to define how the values or text within a field will be displayed. For Example: Making currency always show 2 decimal places or a date that shows a 2 digit month, day, and year.

Note: Formatting options are only available for text boxes and combo boxes.

Setting Custom Field Formatting

  1. Access the field properties by right clicking (Mac: Ctrl + Click) on the field and choose Properties in the mouse menu or click on the edit button on the Mini Toolbar.
  2. Click on the Format Tab
  3. Set the options below to be applied to the selected field

Field Formatting Options

None - Default value, sets no formatting rules and any text can be entered into the field

Number - Sets the field to only accept numbers based on the settings selected

Percentage - Sets the field to display a percentage based on the settings selected

Date/Time - Sets the field to only accept date, time, or date-time values based on the settings selected.

Note: When a date or date-time setting is selected when viewing the document PDF Studio will display a calendar button on the field. This button will allow users to select a date using a calendar picker instead of typing in the field if they wish.

Other - Allows you to select from a list of common predefined field formatting rules

Custom - Allows you to create your own custom formatting rules using the supported PDF Form JavaScript

Sample Format Examples


Other / Custom