how do we write a validation code in an event a disease is only applicable to males on STIs?

@1994e, maybe you will need to share a dummy question, a dummy response, and the constraint you wish to see. The community should then be able to help you out.