Workbench User Guide : Generating Fields from Predefined Templates : How You Can Add a Generated Field to a Frame : The display_dt Field Template
 
Share this page          
The display_dt Field Template
The display_dt field template creates any of a number of field types, each customized to a particular subtype based on its data type and intended use. It will create, for example, fields customized to handle date without time, time without date, date plus time, and so on.
Create a display_dt Control Field
You can create a subtype-customized control field using the display_dt field template in the Frame Editor.
To create a subtype-customized control 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 display_dt template, and then click OK.
4. Position the field in the frame.
The Subtype Assistant appears.
5. Select the subtype you want to create.
6. Click Generate.
The field is created and displayed on the form.
How a display_dt Control Field Works
The subtype-customized control field that the display_dt field template creates is optimized for length, format, and fieldtype to behave as the end user expects.