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.
<input type="radio" id="admin"
name="access" value="True">Access<br>
<input type="radio" id="donotaccess"
name="access" value="False" checked="">Do not access<br></input>
Any suggestions for the same?
Code for radio button added