RequiredRules

Public Property RequiredRules As Blackbaud.AppFx.BatchUI.DynamicFieldConditionCollection

Defines the criteria to determine if the field is required input by associating fields within the batch with deferred condition objects.

In the example below, we add a variety of required rules. Note the use of condition helper functions such as AnyFieldHasValue, FieldHasValue, and CBValue. Each of these helper functions help to evaluate the field or fields to a specific condition such as "does this field have a value?" or "do any of the fields listed have a value?" Each condition helper function returns a type of deferred condition object.