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
  • 6,236
  • 3
  • 37
  • 62
Ercksen
  • 601
  • 8
  • 22

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
  • 34,368
  • 52
  • 164
  • 248