questionnaire

2011-07-22 Thread Coulson Thabo Kgathi
guys i want to tell my view that if a certail choice is selected end the questionnaire or skip to a certain question but i am failing tho retrieve the answer in the database here are my views and other files below. so below i want to access the "if_this_answer_go_to_page" field an

Re: questionnaire

2011-06-27 Thread Cal Leeming [Simplicity Media Ltd]
= 25, > > null=True > > ) > (snip) > > OMG :( > > Ok, you firts have to learn what a *relational* database is all > about. The poll tutorial migh be a good starting point : a "poll" is > a question with a set of possible answers, and

Re: questionnaire

2011-06-27 Thread bruno desthuilliers
snip) OMG :( Ok, you firts have to learn what a *relational* database is all about. The poll tutorial migh be a good starting point : a "poll" is a question with a set of possible answers, and your "questionnaire" is a set of questions with each a set of possible answers (do you

Re: questionnaire

2011-06-27 Thread Peter Murphy
  # to INSTALLED_APPS to enable admin documentation: > >     # Uncomment the next line to enable the admin: >     (r'^admin/', include(admin.site.urls)), > ) > > so this gives me a questionnaire but i kind of hard coded the question and i > am not using my own t

Re: questionnaire

2011-06-27 Thread Cal Leeming [Simplicity Media Ltd]
gt; blank = False, > choices = OPTIONS18, > max_length = 25, > null = True > ) > > quest28 = models.CharField( > verbose_name = '28. How often during the last year have you had a > feeling of guilt or remorse after dri

Re: questionnaire

2011-06-27 Thread Coulson Thabo Kgathi
models.CharField( verbose_name = '31. Has a relative or friend or doctor or another health worker been concerned about your drinking or suggested you cut down? ', blank = False, choices = OPTIONS19, max_length = 25, null = True ) def __uni

questionnaire and answers help

2011-06-27 Thread Coulson Thabo Kgathi
want to create a questionnaire and answers such that one question appears on the screen at a time and once the answers is selected then the it's saved then the next question is shown the answers to the questions are strictly radio butoons or drop down menu this will be used for a surv

Re: questionnaire

2011-06-27 Thread Peter Murphy
On Jun 27, 5:52 pm, Venkatraman S wrote: > On Mon, Jun 27, 2011 at 12:19 PM, Coulson Thabo Kgathi > wrote: > > > want to create a questionnaire and answers such that one question > > appears on the screen at a time and once the answers is selected then > > the it's

Re: questionnaire

2011-06-27 Thread Venkatraman S
On Mon, Jun 27, 2011 at 12:19 PM, Coulson Thabo Kgathi wrote: > want to create a questionnaire and answers such that one question > appears on the screen at a time and once the answers is selected then > the it's saved then the next question is shown the answers to the > quest

questionnaire

2011-06-27 Thread Coulson Thabo Kgathi
want to create a questionnaire and answers such that one question appears on the screen at a time and once the answers is selected then the it's saved then the next question is shown the answers to the questions are strictly radio butoons or drop down menu this will be used for a surv