Multi-page surveys with progress indicator

5 views
Skip to first unread message

Salim Fadhley

unread,
Aug 17, 2009, 8:47:21 PM8/17/09
to django-survey
Is it possible to make a multip-page survey with a progress indicator,
for example supposing the survey were twenty-pages long (I know,
that's a lot!). Each time the user clicks through the next page the
indicator would advance by 1/20th until when they were on the very
last page it would be 19/20 full.

kazamatzuri

unread,
Sep 6, 2009, 8:30:19 PM9/6/09
to django-survey
I'd like to have something like that, too. I'd be happy with a
possibility to have 1 question per page and continue with a 'next'
button.
Or is that already possible with the current code?

Greetings
Fabian

Douglas Napoleone

unread,
Sep 7, 2009, 10:20:53 PM9/7/09
to django...@googlegroups.com
To get multi-page survey forms there are a number of apps out there
for splitting a form across multiple pages w/o the knowledge of the
form in question. This requires some tricky bits of code (hence
generic apps for this). There is no inherent way to do this 'out of
the box' with the survey app. The issue is that you need to cache the
previous data through all the following pages. this can be done with
cookies (usually) or with get form data verses the post form data with
an append system (taking the post data and adding it to get, and then
having the last get url put the data into the final form.

In short go learn how to do multi-page forms in django, and then adapt
those systems to the survey form.

-Doug
Reply all
Reply to author
Forward
0 new messages