Add required attribute in input field when radio button is checked
I have a radio button with an id="radio-jadwal". I want to make my 2 input fields (date and time) become required when the button is clicked. What's the best solution for this one. Thanks in advance
Aucun commentaire:
Enregistrer un commentaire