Is Required

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 Challenge

The customer requires having the fields ‘First Name’, ‘Last Name’, and ‘Birth Date’ as mandatory.

TransactionFeatures_img06

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.

TransactionFeatures_img08

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.

TransactionFeatures_img07

 

In the following video you can see an overview of this functionality:

Summary

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