Options for Drop Down Lists, Radio Buttons and Checkboxes are defined in the Data attribute of the form field.
Each option should be on its own line in the Data Attribute. The label and value of the option will be the same. For Example:
One Two Three Four
If the option is to have a different label and field, each option can be defined as a URL query string with values for "label" and "value"
For Example:
label=One&value=1 label=Two&value=2 label=Three&value=3 label=Four&value=4
To use options from the WebTemplate database, specify the path to the options in the settings for the field, eg:
options=/Data/Contacts
If you also want the GUIDs from WebTemplate to be used as the values, add optionUseIDs=Yes to the settings:
options=/Data/Contacts&optionUseIDs=Yes
You can also add optionCriteria to filter the values to use. You need to add optionType if you are going to use option criteria. eg:
options=/Data/Colours&optionType=Colour&optionCriteria=`Name` LIKE 'b%'
The following are the parameters which can be used for options:
If a parameter besides "options" is used, optionType must be present
example:
options=/Data/Channels&optionType=Channel&optionValue=wtNode.__guid&optionOrderBy=Name ASC