jeudi 24 novembre 2016

How do we set "True" or "False" strings to the response of a checkbox for its checked or unchecked state respectively in html?

Hi I'm currently using radio buttons to pass True or False as a string in my project. I would like to change it to a checkbox that returns the same values, i.e "True" or "False" (based on whether the checkbox is checked or unchecked) so that I'm not forced to change the condition everywhere else in my project.

Access
Do not access

Any suggestions for the same?




Aucun commentaire:

Enregistrer un commentaire