Set Required Fields
Records containing fields that are Hard Required cannot be saved until the field is populated. Records with Soft Required fields can be saved but an Error validation message displays if the designated field is unpopulated.
Applying the Soft Required column property automatically creates a view in SQL. Stewardship Tier then registers the view as a Validation Rule to the page and creates a default message that displays to the end user. This validation is an Error message of “FieldX should have a value,” where FieldX is the translated field name, if there is a translation at the time the field is set to soft required.
This feature is available for these control types:
- Combo Box
- HTML Area
- Text Box
- List Box
- Text Area
Any field in a table that does not allow NULLS automatically displays as a Hard Required field in Stewardship Tier. In many cases it will be the Primary Key field. For example, the Order Detail page displays the Product ID field as required because it is a Primary Key, the Quantity fields and Discount fields are not automatically required because the table requirement allows NULLS.
To make a field required:
- Vertical View for the field.
- Select Yes (hard) or Yes (soft) from the Required list box.
- Click Save.