UI Attributes

Currency

The "Currency" UI Attribute is used to display a currency symbol before a quantitative variable (alternative). In MD, users can choose the type of symbol to selecting it from the dropdown menu. When a variable has the "Currency" UI Attribute, all variable alternatives have that currency symbol. When a variable alternative has its own currency symbol, it will overwrite the symbol from the variable.

 

Used on Variable
Variable alternative
Possible values String
Possible domains Quantitative enumeration
Quantitative interval
Allow html No

How to use

  1. Open the Properties of the variable and click the tab "UI Attributes.
  2. Click on "Add".
  3. Select the option "Currency" from the dropdown menu.
  4. Choose the desired value.
  5. Press the "Add" button to add the Currency to the UI Attributes list.
  6. Click on "Save Changes".

When you run the consultation in the Match Web Player you will see the Currency when the variable appears on the screen.

Example

An example of the Currency:

How much money did you spend on groceries?