When having mandatory attributes, WorkWithPlus provides a functionality "Is Required" to resolve this requirement. You can read more about this feature in the following link: Required Attributes and Variables
The customer requires having the fields ‘First Name’, ‘Last Name’, and ‘Birth Date’ as mandatory.
Also, the field ‘Home Address’ has to be mandatory just when the field ‘Is Home Address Required’ is "True".
To implement this, you can use the "Is Required extra condition" property.
WorkWithPlus automatically generates the rules in order to trigger an error message if the fields are left empty.
Run the application and visualize the feature at runtime.
In the following video you can see an overview of this functionality:
Well done! You should now be able to:
- Turn on the "Is Required" feature to an attribute
- Turn on the "Is Required" feature conditioned to another attribute’s value
|