Template cheat sheet
Here is a list of all of the Objects and Tags you can use in your form templates.
Objects and tags populate the form at the point of generation, with information that is:
- taken from the person generating the form, or
- that is true at the point of generating the form.
Objects
| Variable | Description | 
|---|---|
| {{ researcher.name }} | Researcher’s full name | 
| {{ researcher.email }} | Researcher’s email address (as a link) | 
| {{ organisation.name }} | The Organisation name from Organisation settings | 
| {{ project.name }} | The name of the project | 
| {{ project.client }} | The name of the client the project is for | 
| {{ event.category }} | The category that has been assigned to the event | 
Tags
Conditional Tag
{% if object %}
  Enter output here...
{% endif %}
Conditional Tag with an “else” condition
{% if object %}
  Enter output here...
{%- else -%}
  Enter output here...
{% endif %}
Loop Tag for events
{%- case event.category -%}
  {%- when "interview" -%}
    Enter output here...
  {%- when "observation" -%}
    Enter output here...
  {%- when "usability_testing" -%}
    Enter output here...
  {%- when "diary_study" -%}
    Enter output here...
  {%- when "workshop" -%}
    Enter output here...
  {%- else -%}
    Enter output here...
{% endcase %}