Workbench User Guide : 9. Generating Fields from Predefined Templates : How You Can Add a Generated Field to a Frame : The integer_field Field Template
 
Share this page                  
The integer_field Field Template
The integer_field field template is used to create an entry field of the type integer.
Create an Integer Field
You can create an integer field using the integer_field template in the Frame Editor.
To create an integer field
1. On the Develop tab, in the Components portlet, open the frame in which you want to create the field from the field template.
2. Click Insert, Field From Field Template.
The Select a Field Template dialog appears.
3. Select the core application and the integer_field template, and then click OK.
4. Position the field on the frame.
The field is created and displayed on the form.
How You Can Use an Integer Field
When you run the frame, an entry field appears containing a value of type integer, with a default value of 0:
The field accepts numeric characters, and the plus (+) and minus (-) signs. The field accepts only valid integers in the range -2147483648 to 2147483647.