Msg#: 4347195 posted 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!
You are asking a single question: "Who are you a current vendor for?" The answer may contain multiple values. I think this is probably easier to maintain than asking multiple questions: "Are you a current vendor for CompanyA?" "Are you a current vendor for CompanyB?"