A validation widget may be conditionally required based on the evaluation of an expression. As with conditional validation, perform the following steps:

This creates a widget that will perform required checks only when the condition applies, but will always perform validation checks when the widget contains data.