From: Franky V. L. <lie...@te...> - 2008-06-22 21:41:09
|
On Sun, 22 Jun 2008 15:28:05 -0400 Jim Brown <jp...@si...> wrote: > * 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. ok, I understand better what you want now, but it is not possible (for now) using phpESP ... What you can do is use a seperation text for a question, and then ask for each subpart a question, using html indention: Q: Please check your favorite item in each category: q: which flowers: [ ] Red Roses [ ] Blue Violets [ ] White Carnations q: which fruit: [ ] Red Strawberries [ ] Blue Berries [ ] White Grapes q: which footware: [ ] Red Sandals [ ] Blue Slippers [ ] White Flipflops I must say that you try to ask one question for several categories, and phpESP just isn't designed for that ... Franky |