can we apply required attribute to checkbox in html multiple checkbox?without use of javascript or jquery
I want to apply validation to html page without javascript.and warning message also be shown.answer don’t contain any type of function etc.
can we apply required attribute to checkbox in html multiple checkbox?without use of javascript or jquery
I want to apply validation to html page without javascript.and warning message also be shown.answer don’t contain any type of function etc.
2
Answers
I’m pretty sure it can be done with:
This will automatically give an error popup message if the checkbox is not filled in.
Yes, you can apply the required attribute to a checkbox in HTML, even when you have multiple checkboxes.