← Back to team overview

dhis2-devs team mailing list archive

Validation rule with yes/no and number

 

Hi, 
is it possible to create a validation rule with a yes/no data element and number type data element? 

For example: 
Element A: Was the facility out of stock?
Element B: If yes, for how many days?

I would like to validate that Element B is only filled if the value for Element A is yes. Is this possible?

Regards, 
Olav


Follow ups