Published 1 February 2023, Updated 22 October 2026
Dynamic text lets you write a document or a message once and have AirSupervision fill in the personal details automatically for each person: name, licence number, address, the name of your organisation, today’s date, and so on.
You place fields in your text. A field is a word between double braces, for example {{givenname}}. When the document is produced, sent or displayed, the field is replaced by the real information. “Dear {{givenname}} {{lastname}},” becomes “Dear Alex Martin,” for one member and “Dear Sam Taylor,” for another.


Where you can use dynamic text
| Where | How to add a field | Which fields |
|---|---|---|
| Dynamic documents and other texts written with VisualText | Portal Tags button > Contact, System or Sender. The field appears as a small framed label. | Member, sender and system fields (see the reference below). |
| Text boxes with the BBCode toolbar and printing buttons | Member’s fields, User’s fields or System fields menus. The field is written with its braces. | Member, user and system fields (see the reference below). |
| Automatic messages and emails set up by administrators (settings pages) | The default text already contains the fields that message can use. Keep them, move them, or delete the ones you do not need. | Fields specific to each message, for example the student’s name and the lesson title in a lesson notification. |

Tip: A field only works where it is offered. A field copied from one automatic message into another one, or from a dynamic document into a message, may stay empty or appear as typed.
Member, sender and system fields
These fields are used in dynamic documents and in texts with the printing buttons.
- Member fields (Contact in VisualText, Member’s fields in BBCode) give the details of the person the document is about, for example the member whose file you are printing.
- Sender fields (Sender in VisualText, User’s fields in BBCode) give your own details, as the person who produces the document. They are written with my_ in front, for example {{my_lastname}}.
- System fields give the details of your organisation and the date.
Member fields
| Field | What it shows |
|---|---|
| {{lastname}} | Last name. |
| {{givenname}} | Given name. |
| {{givennameplus}} | Other given names. |
| {{sup_inst_sexe}} | Gender: male, female, or N/A when not set. |
| {{licnumber}} | Licence number. |
| {{dob}} | Date of birth (N/A when not set). |
| {{sup_inst_pob}} | Place of birth. |
| {{citizenship}} | Citizenship (country name). |
| {{visa}} | Immigration visa expiry date (N/A when not set). |
| {{address}} | Address. |
| {{address_post}} | Postal address. |
| {{phone1}}, {{phone2}} | Phone numbers. Empty when not set. |
| {{cell1}}, {{cell2}} | Cell phone numbers. Empty when not set. |
| {{fax}} | Fax number. |
| {{skype}} | Skype ID. |
| {{email}} | Email address. |
| {{groupe}} | Group name (“no group” when the member has none). |
| {{res_name}} | Emergency contact: name. |
| {{res_parent}} | Emergency contact: relationship. |
| {{res_address}} | Emergency contact: address. |
| {{res_phone1}}, {{res_phone2}} | Emergency contact: phone numbers. |
| {{res_email}} | Emergency contact: email. |
| {{role}} | Roles. |
| {{roleDetail}} | Roles with their description. |
| {{sup_resp}} | Responsibilities. |
| {{sup_tache}} | Tasks. |
| {{courses}} | List of the courses the member is enrolled in. |
Sender fields
Add my_ in front of any member field to show your own details instead, for example {{my_givenname}} {{my_lastname}}, {{my_licnumber}} or {{my_email}}.
System fields
| Field | What it shows |
|---|---|
| {{company_name}} | Name of your organisation. |
| {{company_address}} | Address of your organisation. |
| {{company_location}} | ICAO location code of your organisation. |
| {{company_website}} | Website address of your organisation. |
| {{admin_email}} | Email address of the administrator. |
| {{sysdate_yyyymmdd}} | The date the document is produced, as 2026-10-22. |
| {{sysdate_ddMMyyyy}} | The date the document is produced, as 22 Oct 2026. |
| {{sysdate_DMddyyyy}} | The date the document is produced, as Thu 22 Oct 2026. |


Text that changes with a value
A field can also show a different text depending on its value. Write the field name, a vertical bar |, then pairs of value:text separated by semicolons:
{{field|value:text;value:text}}
The most useful example is the polite form depending on the gender (1 = male, 2 = female):
Dear {{sup_inst_sexe|1:Sir;2:Madam}},
A male member reads “Dear Sir,” and a female member “Dear Madam,”. If the value matches none of the pairs, nothing is shown.
Rules for the texts:
- Use only letters (accented letters are allowed), numbers, spaces and full stops.
- Do not use commas, apostrophes, hyphens or brackets inside the texts: the field would then be shown as typed.
- Write each value exactly as it is stored (for gender: 1 or 2).
Fields in automatic messages
Administrators can change the wording of automatic messages and emails in the settings pages (for example notifications about lessons, credentials, audits, qualifications or registrations). The default text of each message already contains the fields it can use, such as {{_studentname}}, {{_lessontitle}} or {{_auditor_name}}.
- Keep the field exactly as written, including the braces and the underscore.
- You can move a field to another place in the text, or delete it.
- Do not invent new fields: only the fields of the default text are filled in for that message.
- Before changing a message, copy its text somewhere safe so you can put it back if needed.
These fields can also be used in most automatic messages:
| Field | What it shows |
|---|---|
| {{_myusername}} | Your last name and given name. |
| {{_myemail}} | Your email address. |
| {{_myphone1}}, {{_myphone2}} | Your phone numbers. |
| {{_mycell1}}, {{_mycell2}} | Your cell phone numbers. |
The signature added to text messages (SMS) uses its own fields, listed in the help window of that setting:
| Field | What it shows |
|---|---|
| {{_act_name}} | Last name and first initial of the person sending the message. |
| {{_act_licnumber}} | Licence number of the sender. |
| {{_act_ph1}}, {{_act_ph2}} | Phone numbers of the sender. |
| {{_act_c1}}, {{_act_c2}} | Cell phone numbers of the sender. |
| {{_act_date}} | Date of sending. |
| {{_act_time}} | Time of sending. |
Common problems and solutions
| Problem | Why it happens | What to do |
|---|---|---|
| The reader sees {{givenname}} instead of the name. | A brace is missing, or the field name is misspelled. | Use the menu or the Portal Tags button to insert the field instead of typing it. |
| The field is empty. | The information is not filled in in the member’s profile, or the field is not available on this page. | Complete the profile, or use a field offered on this page. |
| The gender shows “N/A”. | The gender is not set in the profile. | Complete the profile, or rephrase the text. |
| A text with values ({{field|…}}) is shown as typed. | The texts contain a comma, an apostrophe or another forbidden character. | Use only letters, numbers, spaces and full stops in the texts. |
| My details appear instead of the member’s. | A my_ field was used. | Use the field without my_ for the member’s details. |
Quick best practices
- Insert fields with the buttons and menus rather than typing them.
- Check the result with the PDF preview before sending or printing for many people.
- Make sure profiles are complete: a field can only show what is stored.
- In automatic messages, keep the fields that are already there and do not add new ones.
