m (1 revision)
|Line 1:||Line 1:|
This field only appears when you check the check box next to '''Add Text Field''' under [[Help:CheckBoxes Answer Options|Answer Options]]. Enter your
This field only appears when you check the check box next to '''Add Text Field''' under [[Help:CheckBoxes Answer Options|Answer Options]]. Enter your error message when text field was not selected radio button or check box .
Revision as of 01:50, 6 September 2008
This field only appears when you check the check box next to Add Text Field under Answer Options. Enter your custom error message you would like displayed when a text field was not filled in adjacent to a selected radio button or check box during a survey submission.
If you have enabled multiple languages for this survey, you will see an input field for each language you have available. This field is optional, which means that if you do not provide a value for any specific language, it will use the default value found in that language's file.
In a HTML enabled field, you can use HTML tags to alter the looks of the content of this field. For example, if you would like to bold the content:
The example above will resemble something below:
If you actually need to display the HTML tags as they are and avoid being evaluated by the web browser, you can actually enter the following characters:
< instead of <
> instead of >
& instead of &
" instead of "
You can utilize Template-Toolkit tags in this field. You can embed template variables into the field content. See an example of how one would use template tags within answer choice text:
Work out during the [% IF survey.time <= '12:00:00' %] morning [% ELSIF survey.time <= '05:00:00' %] afternoon [% ELSE %] evening [% END %]
The example above displays a different answer choice depending on what time of the day the survey taker views the question. Click Here for a quick tutorial on Template-Toolkit.