rwilson - 2:56 pm on Aug 3, 2011 (gmt 0)
What is the best way to name multiple groups of checkboxes in an html form?
I have a list of companies that I want the user to click to say which ones they are a vendor for. I've put the code below for how I am currently doing this, I'm just curious if there is a better cleaner way to do it. Any help would be greatly appreciated!
<input type="checkbox" name="CURRENT-vendor-companyA" id="companyA" value="yes" />
<label for="companyA">Company A</label>
<input type="checkbox" name="CURRENT-vendor-companyB" id="companyB" value="yes" />
<label for="companyB">Company B</label>
The email response looks like: