Specifying the type of data to acceptAdded by IBM on May 2, 2012 | Version 1 (Original)
|The default type for a field is text, which allows users to enter both characters and numbers.
The default type for a field is text, which allows users to enter both characters and numbers.
You can set up fields to accept only a specific kind of input, such as dates or dollar values. If a user attempts to input data that the item does not accept, an error message will appear and the field will turn red.
To specify the type of data to accept:
Parent topic: Controlling and formatting data
Specifying constraints on input
Automatically formatting input
- If you do not already have the Advanced IBM Forms Designer perspective open, click Window -> Open Perspective -> Advanced IBM Forms Designer.
- Select the field.
- In the Properties view, expand Format, and format.
- Set datatype to the type of input that you want to apply.