Hi, Sample usecase : First question : Patient Previously Treated for TB : Yes | No Subsequent questions on previous treatment of TB. If the answer to the first question is Yes then the subsequent questions must be answered. If the answer is No then of course the subsequent question can be skipped.
i have set the required validation through visit.json on subsequent question and enable/disable them using formConditions.js based on what was the answer to first question was. However the required validation gets fired even if the questions are disabled.
The required validation should be skipped if the question itself is disabled. or may be there is a better / different way to achieve this? This could be applicable for any type of validation i suppose