From: Jim B. <jp...@si...> - 2008-06-22 19:44:20
|
* Franky Van Liedekerke <lie...@te...> [2008-06-22 13:54]: > On Sun, 22 Jun 2008 07:03:11 -0400 > Jim Brown <jp...@si...> wrote: > > > > > 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 > > If I'm not mistaken, radio buttons in html are not meant to be used > like this ... > But anyway, to try it out: add 2 <br> add the end of every "seperation" > line (yes, I mean to add the html code to the description field in > phpESP. > > Franky That only separates the groups for display. What I had in mind was creating a new question type like 'radiogroup'. phpESP would have to: 1. Manage the creation of separate groups with "name=group1" attributes This would be in the Survey Design management interface screen. 2. Receive and process the groups as 'response_multiples' instead of response_single. Not sure of all the underlying code and I'm short on time right now, but I might give it a try later. Best Regards, Jim B. |