Format tab for the combo box properties
The Format tab in the combo box properties dialog box enables you to format the field values.
Select one of the categories listed below:
None – No additional options are available. The input in a combo box with this property
does not require any specific formatting.
Number – Automatically imposes the selected formatting options on numeric data entries.
A. Decimal places – Sets the number of digits that appear to the right of the decimal point.
B. Separator style – Sets the placement of commas and periods.
C. Currency symbol – Sets the type of currency, such as Dollars, Euros, or Pounds.
D. Negative Number Style – Sets how negative numbers are displayed. You can choose
Show parentheses, Use red text, neither, or both.
Percentage – Automatically imposes the selected formatting options on numeric data
expressed as a percentage.
A. Decimal places – Sets the number of digits that appear to the right of the decimal point.
B. Separator style – Sets the placement of commas and periods.
Date – The list includes one-, two-, and four-digit variations where d stands for the day, m
stands for the month, and y stands for the year. Also, you can choose Custom option and
type your format.
Time – The list includes display variations where h stands for the hour on a 12-hour clock, H
stands for the hour on a 24-hour clock, MM stands for minutes, ss stands for the seconds,
and tt stands for AM or PM. Also, you can choose the Custom option and type your format.
Special – There are five options for you:
A. Zip Code – For a five-digit postal code.
B. Zip Code + 4 – For a nine-digit postal code.
C. Phone Number – For a ten-digit telephone number.
D. Social Security Number – For a nine-digit US Social Security Number.
E. Arbitrary Mask -- Changes the format category to Custom and makes another text box
available, in which you can type a custom format. Use this option to specify which types
of characters the user can enter in any given position, and how the data displays in the
field.
a. A -- Accepts only letters (A–Z, a–z).
b. X -- Accepts spaces and most printable characters, including all characters available
on a standard keyboard and ANSI characters in the ranges of 32–126 and 128–255.
c. O -- The letter “O” accepts alphanumeric characters (A–Z, a–z, and 0–9).
Foxit PhantomPDF 6.0.3
User Manual
140
d. 9 -- Accepts only numeric characters (0–9).
For example, a mask setting of AAA--p#999 accepts the input BDF--p#367. A mask
setting of OOOOO@XXX accepts the input vad12@3Up.