Thanks john. I can't believe it's not there. And I also seem to have gone head first into the difficult stuff. As usual. I'm going to have to hack it a bit and then come back and tidy it up once I learn a bit more.
(Oh bugg*r!) On Mar 18, 12:02 pm, john2095 <[email protected]> wrote: > Sounds like you're building a "multiple choice questionnaire". > > Googling around everyone seems to be indicating the perfect blog post > for you was > at:http://www.pointy-stick.com/blog/2009/01/23/advanced-formset-usage-dj... > but the site seems to have dropped off the internet. At the end of the > day I'd say you've got a learning curve in front of you. First forms, > then formsets, then validating them. > > Enjoy. > > On Mar 18, 7:26 pm, ALJ <[email protected]> wrote: > > > I have a list of questions and for each a group of potential answers. > > I want to display the questions and have radio buttons for answers. In > > addition, if they have any other comments, there is a free text box. > > I've managed to do this ok so far excluding the comment boxes and can > > iterate over the questions and answers and pull them into the > > database. I can also re-populate the form if they decide later they > > need to change the answers. I'm now trying to look at checking for > > errors. > > > However, I haven't been using any of the form or formset classes. It's > > all very much written from scratch and I have to do a number of these > > (all with slightly different layouts of course). I therefore wondered: > > > - has anyone else done anything similar to this? > > - are there any examples of how to do it? > > > (I'm not even sure what to call this so I can search for myself.) > > > ALJ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

