Difference between revisions of "Help:RadioButtons Error Messages Number of Answers"
HELP PAGE DISCUSSION CLOSE
 
m (1 revision)
 
(No difference)

Latest revision as of 23:21, 24 March 2013

Depending on whether this question requires a response or not, this question may use radio buttons or check boxes for each answer choice. The radio buttons are used when the question is set to required because once you select an answer, you can only change your response via radio buttons, but not deselect radio button. The check boxes however, you can uncheck an answer choice since they can toggle on and off. JavaScript is used to make sure that only one check box is selected at all times for this question type, but in the event that either JavaScript is disabled or fails, this error message defined here is displayed when multiple answer choices are selected.


Multiple Languages

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.


HTML Capable

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:

my content

The example above will resemble something below:

<b>my content</b>

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:

&lt; instead of <
&gt; instead of >
&amp; instead of &
&quot; instead of "


Template-Toolkit Capable

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.