Skip to content

Forms

With a form you ask for extra data when an incident starts, for example the exact location or what can be seen. The operator fills in the form before the incident starts. The answers can be included in the message to the contacts.

You create the forms in Manage › Forms. In the scenario builder you link them to a scenario. A linked form also applies to the subscenarios below it.

Overview

Forms

The list shows for each form:

  • Name: the name of the form.
  • Fields: a symbol per field type and the number of fields.
  • In message: how many fields are included in the message.
  • Languages: per language (NL, FR, EN) whether all labels are translated. An orange language still misses labels.
  • Used in: in how many scenarios the form is used, or Not used.

With the search field you search on the name of a form or a field. With the buttons All, In use, Not used and Translation missing you filter the list.

With Add form you create a new form. With the menu (⋮) in front of a row you edit, duplicate, view the details of, or delete a form. If the form is still in use, deleting it shows you in which scenarios. Those scenarios then no longer show the form, and its macros stay empty in the messages.

Details

With the arrow in front of a row you open the details of a form, in three tabs.

Details of a form

  • Fields: the fields with their key, and whether they are required, included in the message or still missing translations.
  • Preview: how the form looks to the operator.
  • Used in: the scenarios that use the form, with how it is shown (pop-up or inline), the moment (before or after the message) and whether the name of the form is spoken. Below are the macros of the fields included in the message.

Use of a form

Edit a form

Edit a form

At the top you give the form a Name. With Build and Preview you switch between editing and the preview. The build screen has three parts:

  • Add field (left): the field types. Click a type to add the field below the selected field, or drag it to the right place in the list.
  • Fields (middle): the fields of the form. Drag a field to change the order. At the top you see how many fields are in the message, how many labels are missing per language and how many fields have a problem.
  • Properties (right): the properties of the selected field.

Shortcuts in the list: Alt+↑/↓ moves a field, ↑/↓ selects the previous or next field, Ctrl+D duplicates and Del removes. You can restore a removed field until you save.

Click Save at the bottom. Next to the button you see how many changes are not saved yet. With Delete you delete the whole form.

Field types

Field Use
Text field One line of text.
Text area Several lines of text.
Dropdown Choose from a list, possibly several choices.
Radio buttons One choice out of a few options.
Checkboxes Tick several choices.
Date A date.
Hour A time of day.
Age Years and/or months.
Functions The operator chooses functions from the planning and then the contacts per function. A form has at most one functions field.

Properties of a field

Properties of a field

  • Label: the question, in every language (NL, FR, EN). The operator sees the label in their own language. If a translation is missing, the operator sees the text of another language between **.
  • Key: the unique name of the field within the form (lowercase letters, digits and -). The key is made automatically from the label and is used in the macro.
  • Placeholder: the grey text in the empty field (text field, text area, dropdown).
  • Required: the incident can only start when this field is filled in.
  • Included in message: the answer is available as a macro in the scenario messages, in the form %%formname_key_value%%.
  • Multiple choices (dropdown): the operator can choose more than one option.
  • Options (dropdown, radio buttons, checkboxes): for each option a label in every language and a value. With Add option you add an option; Enter in the last label does the same.
  • Years and Months (age): which parts the operator fills in.

With the arrows and buttons at the top right you move, duplicate or remove the field.

Macros

If you change the name of the form or the key of a field that has already been saved, the macros in the scenario messages and mail templates are updated automatically when you save.

Actions

Actions

With Actions you can duplicate the form, open the scenarios that use it, delete all fields or delete the form.

Preview

Preview

The preview shows the form as the operator sees it. Choose the language of the operator at the top. You can fill in the form and check with Check required fields whether everything is in order. On the right you see how EmCaS fills in the macros in the message with what the operator enters.