0

I have a form with some check boxes and a radio group, and simply removed the 'name' attribute from the check boxes to prevent them from being submitted. But radio groups need a name attribute for the client to know what belongs to each other. Can I prevent those radio buttons from being submitted with the form?

ElliotSchmelliot
  • 7,322
  • 4
  • 41
  • 64
Ercksen
  • 668
  • 9
  • 23

1 Answers1

1

just put those radio buttons outside of <form> like

<form>
  elements to submit 
</form>
<input type="radio" /> <!-- won't be submitted --> 
doniyor
  • 36,596
  • 57
  • 175
  • 260