DSP® Application Development
Add a Watermark
Some columns benefit from a watermark, which displays as grey text in the field.
A watermark can be added in two ways: A static text watermark can be added to a column, or a view can be registered that displays the watermark depending on certain conditions.
For example, for list boxes that search for particularly named values/objects a watermark can display the expected formats to ensure that the user understands what’s expected. Also, suggested text formats can be useful. If the user is expected to use a namespace convention, indicating it during the add/edit is more useful than providing a warning after the save.
A watermark can be added to these controls:
- HTML Area
- Text Box
- DateTime
- Combo Box
- Numeric
- List Box
- Text Area
To add a static text watermark to a column:
- Access the Page Columns page's Vertical View.
-
Click Edit.
- Enter the text in the Watermark Text field.
- Click Save.
To use a view to display a watermark:
- Write a view with a Dwv suffix and alias the column as boawatermark
- Access the Page Columns page's Vertical View.
-
Click Edit.
- .Click the Relational tab.
- Select the view in the Watermark View list box.
-
Enter the binding field name(s) in the Watermark Binding Field Names text box.
NOTE: Include a comma between names.
- Click Save.