Validation may be made conditional based on the state of another element, such as a radio button.

Validation rules of the widget will be applied conditionally only when the referenced function returns true.