From: Jim B. <jp...@si...> - 2008-06-22 11:19:26
|
Hi all, Has anyone hacked around with radio boxes and groups? I'm trying to create a survey question that has three groups of responses, something like the following: Q: Please check your favorite item in each category: [ ] Red Roses [ ] Blue Violets [ ] White Carnations [ ] Red Strawberries [ ] Blue Berries [ ] White Grapes [ ] Red Sandals [ ] Blue Slippers [ ] White Flipflops The ideal way to do this is setting the name attribute for each group: <input type="radio" name="Q1_A" value="RedRoses"> Red Roses<br> <input type="radio" name="Q1_A" value="BlueViolets"> Blue Violets<br> <input type="radio" name="Q1_A" value="WhiteCarnations"> White Carnations <hr> <input type="radio" name="Q1_B" value="RedStrawberries"> Red Strawberries<br> <input type="radio" name="Q1_B" value="BlueBerries"> Blue Berries<br> <input type="radio" name="Q1_B" value="whiteGrapes"> White Grapes <hr> <input type="radio" name="Q1_C" value="RedSandals"> Red Sandals<br> <input type="radio" name="Q1_C" value="BlueSlippers"> Blue Slippers<br> <input type="radio" name="Q1_C" value="WhiteFlipflops"> White Flipflops Has anyone hacked phpESP to do this sort of thing? Best Regards, Jim B. PS- Yes, I know I can use checkboxes... |