Required Field Business Rules
Often you want to require a dataform field to be completed, but only under certain conditions. Making the field required at the dataform level is not a good solution. That's where the required field business rules come into play.
The following list comprises the required field rules.
Rule | Description |
---|---|
_HE_RequireField _SE_RequireField |
Displays a hard error (_HE_RequireField) or soft error (_SE_RequireField) on a parent or child/tab dataform when you attempt to save the form without entering a value in the specified required field. If you are configuring a hard error, you are unable to continue the Save process without providing a value. If you are configuring a soft error, you can choose to provide a value or you can continue the Save process without providing a value.
Note:
Parameters: RequiredDataformName and RequiredFieldName. |
_RequireAdHocField |
Checks for a field value that resides in a node embedded in the dataform XML packet. Parameters: sFieldPath and sFieldLabel |