Workbench User Guide : 9. Generating Fields from Predefined Templates : How You Can Add a Generated Field to a Frame : The timezone_control Field Template
 
Share this page                  
The timezone_control Field Template
The timezone_control field template creates a time zone field that displays a list of time zones.
Create a Time Zone Field
You can create a time zone field using the timezone_control field template in the Frame Editor.
To create a time zone 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 timezone_control template, and then click OK.
4. Position the field on the frame.
The field is created and displayed on the form.
How a Time Zone Field Works
When the frame containing the time zone field is executed, the field appears with the Default option selected—which applies to the GMT time zone:
When the Selected option is chosen, the time zone list field then appears:
You can use the list field that appears to select the desired time zone.