Solved
How to code a field to be required
I have a form which has 3 checkboxes that if checked then the corresponding text boxes becomes visible. I also need each text box to be Required if it is visible; it should remain optional if the field remains hidden. Is there a code for this?