Help:Image Alternative Text
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)

When displaying an image with HTML, there is an alternative text attribute for the image tag. When the browser is unable to display the image or has images turned off in the user preference, the alternative text is displayed instead for accessibility. Here is an example of how the image tag would look in HTML with the alternative text set to "SurveyFactory Logo":

<img src="logo.gif" alt="SurveyFactory Logo" />


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 be blank.


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.