Help:Text Field Label Required
HELP PAGE DISCUSSION CLOSE
Revision as of 23:21, 24 March 2013 by Matt (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

REQUIRED FIELD

You can enter a text label to appear near the text field you are adding. Generally the label will appear on the left of the text field, but you can change the position under template customization, if the template was designed to do so.


Multiple Languages

If you have enabled multiple languages for this survey, you will see an input field for each language you have available. Because this is a required field, you will have to fill out at least one of the language fields. Any language which you do not provide a value for will use the highest priority language that has been completed. The languages are listed in order of priority. This allows you to enter the text only once if you desire to have all languages use the same value.


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.