UI Attributes
Watermark
The Watermark UI Attribute is used to replace the default placeholder of an inputfield, textarea or dropdown menu with a string.
Used on | Variable |
Possible values | String |
Possible domains |
Qualitative enumeration Qualitative length Quantitative interval Quantitative enumeration |
Allow html | No |
Qualitative / quantitative enumeration can only use the Watermark UI Attribute when it's a dropdown menu
How to use
- Open the Properties of the variable and click the tab "UI Attributes.
- Click on "Add".
- Select the option "Watermark" from the dropdown menu.
- Type in the value in the Attribute value (optional) textarea.
- Press the "Add" button to add the Slider to the UI Attributes list.
- Click on "Save Changes".
When you run the consultation in the Match Web Player you will see the Watermark when the variable appears on the screen. An example of the Watermark:
What is your favourite colour?