lundi 6 avril 2015

HTML checkbox to pass predefined value

Looking to create one single check-box to pass two different types of values like opting in.


So something like if this is true:



<input type=checkbox checked=true name="opted_in">


if false:



<input type=checkbox name="opted_out">


Am I on the right track? If so how can I nest it?





Aucun commentaire:

Enregistrer un commentaire