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
= 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 your &
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 not
>
> # 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 templete but i want to use my own templete, of which i
> suppo
ng of guilt or remorse after drinking?',
> blank = False,
> choices = OPTIONS18,
> max_length = 25,
> null = True
> )
>
> quest29 = models.CharField(
> verbose_name = '29. How often during the last year have you been
> unable
):
return "Questionnaire %s" % (self.id)
#admin.py
from django.contrib import admin
from models import Questxs
class QuestxsAdmin(admin.ModelAdmin):
radio_fields = {
"quest1": admin.VERTICAL,
"quest2": admin.VERTICAL,
"quest
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 survey
On Jun 27, 5:52 pm, Venkatraman S <venka...@gmail.com> wrote:
> On Mon, Jun 27, 2011 at 12:19 PM, Coulson Thabo Kgathi
> <zeeco...@gmail.com>wrote:
>
> > want to create a questionnaire and answers such that one question
> > appears on the screen at a time
On Mon, Jun 27, 2011 at 12:19 PM, Coulson Thabo Kgathi
<zeeco...@gmail.com>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 sh
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 survey
10 matches
Mail list logo