+ 2

what if i does not include name="gender" in the form

26th Aug 2016, 10:34 AM
Parivesh Mahajan
Parivesh Mahajan - avatar
4 Réponses
+ 1
If you don't specify a name attribute in a radio button, you will be able to select more than one option and u won't be able to unselect the selected options, while a radio button should only accept one option. Helpful?
2nd Sep 2016, 3:40 PM
Paul Chinaecherem Anigbo
Paul Chinaecherem Anigbo - avatar
+ 1
While in a checkbox, there won't be any physical difference. But you will not be able to collect information from the checkbox without a name attribute.
2nd Sep 2016, 3:44 PM
Paul Chinaecherem Anigbo
Paul Chinaecherem Anigbo - avatar
0
bro post complete code. i help you okay ?
27th Aug 2016, 10:46 AM
HawkEye
HawkEye - avatar
0
Then the data of that input field will not be send at all.. You have to write name attribute.
28th Aug 2016, 11:24 AM
Imran Anwar
Imran Anwar - avatar