Best way to create a form wizard

2020-04-18 Thread Francesco
Hi all, I am working on a form on Django. I would like to create several sections of the form, just to let the users insert data in steps. I would like also to change the questions based on the previous answers of the users (for example, if in the first page you tell me you are a male, in the

Django form wizard multiple file uploads problem

2020-04-08 Thread Deniz Bazan
I have a problem with form wizard, I have a form wizard with 3 steps. In step 2, user uploaded several files. In step 3, send the data to the database. I can save files in server in step 2, but if user does not finish the form then files will remain on the server for free.Therefore I should

Unable to save forms to the database for inline formsets using form wizard

2017-12-02 Thread Vishal Vincent
I am currently working on building a survey. The parent model 'Person' is linked to a 'Question' model via ManytoMany relationship. Both Question and Person model are linked to an 'Answer' model via foreign key. Currently, I am having issues using the Form Wizard which consists of two steps

Re: form wizard

2017-04-11 Thread Camilo Torres
Hi, What is "form wizard"? Can you provide a link or an explanation, example? On Tuesday, April 11, 2017 at 9:29:39 AM UTC-4, Pranay Verma wrote: > > Hi > Is there any way to use form wizard in Django 1.10 ao above > -- You received this message because you are subscribe

form wizard

2017-04-11 Thread Pranay Verma
Hi Is there any way to use form wizard in Django 1.10 ao above -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@google

Re: Form Wizard: store the session values

2015-02-25 Thread Karim
Solved with a very easy approach. I override the WizardView get method and I use a session variable to understand if the user want to restore the edit or create a new form def get(self, request, *args, **kwargs): """ This method override the WizardView handling the restore of

Re: Form Wizard: store the session values

2015-02-25 Thread Karim
to convert all the keys name to pass the session values to the initial_dict? Maybe there is a better way to backup and restore the session? Thank you [1] https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/#django.contrib.formtools.wizard.views.WizardView.initial_dict

Re: Form Wizard: how to send instance_dict based on the request

2015-02-24 Thread Karim
On Fri, Feb 20, 2015 at 5:49 AM, Collin Anderson wrote: > You could instead just override get_form_instance(step). That way you'll > have access to self.request. > ​Thank you!​ -- Karim N. Gorjux -- You received this message because you are subscribed to the Google

Form Wizard: store the session values

2015-02-24 Thread Karim
When I click on the link for my form, I would like to restore the session values if the user accidentally left the wizard or other cases happened. How I can restore the session and initialize the FormWizard with the session values? Everytime I click on the link to render the view I got an empty

Form wizard: how I can jump on a specific step?

2015-02-24 Thread Karim
you​ ​ ​[1] https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/​ -- Karim N. Gorjux -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-user

Re: Form Wizard: how to send instance_dict based on the request

2015-02-19 Thread Collin Anderson
Hi, You could instead just override get_form_instance(step). That way you'll have access to self.request. Collin On Tuesday, February 17, 2015 at 8:26:30 PM UTC-5, Karim Gorjux wrote: > > Hello mates! > > I have some problems to understand how to set the view for > the

Form Wizard: how to send instance_dict based on the request

2015-02-17 Thread Karim
Hello mates! I have some problems to understand how to set the view for the NamedUrlSessionWizardView creating a instance_dict based on the user in the request. in my urls.py url(r'wizard/new/(?P.+)/$', ServiceCUWizard.as_view( FORMS, # the list of ['form_name',

Editing existing data using Form Wizard

2014-05-05 Thread rgreene
Good day, The thread at http://stackoverflow.com/questions/13822975/django-form-wizard-to-edit-model shows an approach for using the form wizard to edit data. Is this approach still recommended? If so, I'm wondering how to initialize the data for a step based on a formset? Passing a single

Re: Form wizard get_template_names()

2014-04-23 Thread Juan Miguel Taboada
On Wednesday, July 13, 2011 4:31:58 AM UTC+2, Dario Vergara wrote: > > Here is the solution: > > def get_template_names(self): > next_step = int(self.steps.current) > return 'step_%s.html' % next_step > > > Simple solution. What is confusing is that the documentation says

Django Form Wizard - Something wrong?

2014-03-19 Thread BadStorm
Hi, I try to add a wizard in my project. I read the documentation at https://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/ and I followed step by step those instructions. The only thing i change is that I added a third step. The problem is: when I try to fill all the fields

Re: Login at the end of form wizard

2014-02-17 Thread parnigot
t; completed the login step? > Does WizardView have a method executed at the end of each step that I can > override to do this? > > See the method: > > WizardView.render_goto_step(step, goto_step, **kwargs) > in > https://docs.djangoproject.com/en/dev/ref/contrib/

Re: Login at the end of form wizard

2014-02-16 Thread Camilo Torres
> Does WizardView have a method executed at the end of each step that I can > override to do this? > See the method: WizardView.render_goto_step(*step*, *goto_step*, ***kwargs*) in https://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/ -- You received this message

Re: Login at the end of form wizard

2014-02-14 Thread parnigot
zard session data from the anonymous user to the >> >> logged user? >> >> I believe that session data is only cleaned when you log out, however when >> logging in you should not loose that data. >> >> On Thursday, February 13, 2014 9:51:08 AM UTC-5, parnigot wrot

Re: Login at the end of form wizard

2014-02-14 Thread parnigot
a. > > On Thursday, February 13, 2014 9:51:08 AM UTC-5, parnigot wrote: > Hello fellow django users, > > I'm using a form wizard (a very basic SessionWizardView) to create a simple > "order page". > The four steps of the wizard must be accessible to both logged in

Re: Login at the end of form wizard

2014-02-13 Thread Thomas Leo
ata. > > On Thursday, February 13, 2014 9:51:08 AM UTC-5, parnigot wrote: >> >> Hello fellow django users, >> >> I’m using a form wizard (a very basic SessionWizardView) to create a >> simple “order page”. >> The four steps of the wizard must be accessible to both l

Re: Login at the end of form wizard

2014-02-13 Thread Thomas Leo
u log out, however when logging in you should not loose that data. On Thursday, February 13, 2014 9:51:08 AM UTC-5, parnigot wrote: > > Hello fellow django users, > > I’m using a form wizard (a very basic SessionWizardView) to create a > simple “order page”. > The four steps of t

Login at the end of form wizard

2014-02-13 Thread parnigot
Hello fellow django users, I'm using a form wizard (a very basic SessionWizardView) to create a simple "order page". The four steps of the wizard must be accessible to both logged in and anonymous users, but to complete an order the user must authenticate himself (think some

Re: Trouble in trying django form wizard example!

2014-02-06 Thread Tomas Vician
ngoproject.com/en/dev/ref/contrib/formtools/form-wizard/#wizard-template-for-each-form > . > > After 'submit'ting the data for 'ContactForm1' I am not getting > 'ContactForm2'? > > I am just trying to print the date I key in ContactForm1 and ContactForm2 > in some sample

multiple select in form wizard

2014-01-05 Thread Prithviraj Billa
Hello, I'm using form wizard in my application.One of my forms contains modelmultiplechoicefield, after i submit all the forms it gives me an error in the form with modelmultiplechoicefield informing that to "please enter the list of values". Its not saving a list of values instead,

Form Wizard and middle step data manipulation

2013-11-21 Thread Lachlan Musicman
Hola, I want to collect an integer x in the first form, and then use that to select the x oldest items from collections of items that may have From this perspective it is natural that anarchism be marked by spontaneity, differentiation, and experimentation that it be marked by an expressed

Re: How to insert a inline form inside a form wizard?

2013-10-24 Thread Fabio Caritas Barrionuevo da Luz
Hello Russel. First, sorry for reviving this topic. Thanks for the comment on this topic, however, this matter is still not clear to me. You will also create a blog post explaining the details of CookieWizardView / SessionWizardView + formset and inlineformset? I am a relatively new django

Django 1.4 Form Wizard and browser back button document expired

2013-10-02 Thread Laura Morgan
Hi, Working on a 3 step process, using a SessionWizardView class in Django 1.4 Form wizard. In IE (mostly, although have seen in other browsers), If user hits browser back button instead of the form PREV button, in some cases it gives "Document expired". This probably isn't a wi

Django Form Wizard: Why is this happening?

2013-08-29 Thread Bruno Lottero
*I have a dinamic form wizard step as following:* class AltaForm6(forms.Form): CHOICES = ((1, 1,), (2, 2,)) username = ChoiceFieldInvalid(required=True, label="Usuario", widget=forms.RadioSelect, choices=CHOICES) username2 = forms.CharField(required=False, label="Otro")def

Django Form Wizard: Why is this happening?

2013-08-29 Thread Bruno Lottero
*I have a dinamic form wizard step as following:* class AltaForm6(forms.Form): CHOICES = ((1, 1,), (2, 2,)) username = ChoiceFieldInvalid(required=True, label="Usuario", widget=forms.RadioSelect, choices=CHOICES) username2 = forms.CharField(required=False, label="Otro") def

Form Wizard: Redirecting back to a step from inside the done() method

2013-07-18 Thread Steven Smith
I have a form wizard that walks a user through some system configuration steps. In the done() method, the cleaned_data is used to call out to a configuration system to do various set/unset operations. Most of the time, the validation that I have built into my form classes is sufficient

is there way to have multiple forms per step in django form wizard ?

2013-05-28 Thread Vishwajeet
I have this situation where I want to have multiple formsets and a normal form at single step in formwizard, I spent sometime time searching for the same but could not find any info. Can someone suggest some workaround or solution to the problem ? -- You received this message because you are

Re: Help with Django form wizard.

2013-03-20 Thread Dilip M
On Thu, Mar 7, 2013 at 9:21 PM, Dilip M wrote: > Hi, > > Here is what I am trying to do. Get the root folder name in form 1 and > list the found sub directories (matching a pattern) and give an > option for user to select the sub dirs. Once selected, I want to save the >

Re: Help with Django form wizard.

2013-03-07 Thread Dilip M
On Thu, Mar 7, 2013 at 9:21 PM, Dilip M wrote: > Hi, > > Here is what I am trying to do. Get the root folder name in form 1 and > list the found sub directories (matching a pattern) and give an > option for user to select the sub dirs. Once selected, I want to save the >

Help with Django form wizard.

2013-03-07 Thread Dilip M
Hi, Here is what I am trying to do. Get the root folder name in form 1 and list the found sub directories (matching a pattern) and give an option for user to select the sub dirs. Once selected, I want to save the model. 1. How to dynamically display found sub directories in form 2. I have

Trouble in trying django form wizard example!

2013-03-05 Thread Dilip M
Hi, I am new to Django and trying out form wizards. I am trying the example mentioned in https://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/#wizard-template-for-each-form . After 'submit'ting the data for 'ContactForm1' I am not getting 'ContactForm2'? I am just trying

Re: Possible bug with Form Wizard and condition_dict?

2013-02-28 Thread Arild Haugstad
ct --- or on the wizard objects storage --- in process_step(), and then check that in the callable. On Friday, 5 October 2012 17:16:02 UTC+2, Scott Woodall wrote: > > I searched the bug tracker and the django users with no results, so is > what I'm seeing a bug? > > I have a form w

Re: Possible bug with Form Wizard and condition_dict?

2013-02-25 Thread Michael Stefaniak
in cleaned_data.get('something', []) RuntimeError: maximum recursion depth exceeded in cmp On Friday, October 5, 2012 11:16:02 AM UTC-4, Scott Woodall wrote: > > I searched the bug tracker and the django users with no results, so is > what I'm seeing a bug? > > I have a form wizar

Form Wizard: wizard_form.html

2013-01-04 Thread Tundebabzy
Hi, is there any reason why there is no form tag in wizard_form.html so I can upload a fix? I tried to use the Form Wizard for the first time today and discovered that I never got past the first page after submitting. Forensic investigations showed that nothing was getting submitted because

Re: Form wizard step back

2012-11-13 Thread azurIt
for anyone having the same problem: https://code.djangoproject.com/ticket/19285 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Re: Form wizard step back

2012-11-13 Thread azurIt
lf.storage.get_step_data(self.steps.current), files=self.storage.get_step_files(self.steps.current)) return self.render(form) If i'm trying to simulate it in done() methond of my Form wizard object i'm always getting the first step (no matter which step i spe

Re: Form wizard step back

2012-11-13 Thread Bill Freeman
On Tue, Nov 13, 2012 at 9:07 AM, azurIt wrote: > >You really need to create the account, thus reserving the login > (username?) > >in step 1, when the check succeeds (in fact, the test probably should be > >an attempt to create the account, whose failure is what kicks the user >

Re: Form wizard step back

2012-11-13 Thread azurIt
>You really need to create the account, thus reserving the login (username?) >in step 1, when the check succeeds (in fact, the test probably should be >an attempt to create the account, whose failure is what kicks the user back >to choose another login). You keep a creation date and note (perhaps

Re: Form wizard step back

2012-11-13 Thread Bill Freeman
On Tue, Nov 13, 2012 at 8:17 AM, azurIt wrote: > Hi, > > i have the following problem: > User is choosing a login in first step (login is validated and is checked > if it's available) and is filling up some other data in second step. > Finally, i'm trying to create a new account

Form wizard step back

2012-11-13 Thread azurIt
Hi, i have the following problem: User is choosing a login in first step (login is validated and is checked if it's available) and is filling up some other data in second step. Finally, i'm trying to create a new account BUT the login can be already taken (there's a little time frame between 1

Re: How to insert a inline form inside a form wizard?

2012-10-28 Thread Russell Keith-Magee
On Mon, Oct 29, 2012 at 2:00 AM, Rogerio Carrasqueira < rogerio.carrasque...@gmail.com> wrote: > Hi Everybody! > > I'm trying to the make a django form wizard based on this article > http://elo80ka.wordpress.com/2009/10/28/using-a-formwizard-in-the-django-admin/, > but

Possible bug with Form Wizard and condition_dict?

2012-10-05 Thread Scott Woodall
I searched the bug tracker and the django users with no results, so is what I'm seeing a bug? I have a form wizard that is using a callable within condition_dict. If I try to access "wizard.steps.current" inside the callable, I get the following error: "maximum recursion

Re: Form Wizard usable with branching?

2012-08-06 Thread Germán
ng to a specific step. >> >> What I really want is to (somewhere!) check the values of a form right >> after the user hit "submit". Based on those values, jump to the next >> appropriate form. >> >> What is broken in my thinking about this? Are people actually writi

Re: Form Wizard usable with branching?

2012-08-03 Thread mtnhiker
er hit "submit". Based on those values, jump to the next > appropriate form. > > What is broken in my thinking about this? Are people actually writing > wizards with 1.4 that use the form wizard and do branching? > > > -- You received this message because you

Form Wizard usable with branching?

2012-08-03 Thread mtnhiker
n those values, jump to the next appropriate form. What is broken in my thinking about this? Are people actually writing wizards with 1.4 that use the form wizard and do branching? -- You received this message because you are subscribed to the Google Groups "Django users" group. To v

Re: Contact form wizard - values ​​between forms

2012-07-09 Thread Leandro Alves
Does anyone have any tip please? Thanks. On Monday, July 9, 2012 1:34:18 PM UTC+2, Leandro Alves wrote: > > Hi guys, > > I know this might sound simple, but how can I get/use the values of the > fields from ContactForm1 into ContactForm2? > > from django import forms > > class

Contact form wizard - values ​​between forms

2012-07-09 Thread Leandro Alves
Hi guys, I know this might sound simple, but how can I get/use the values of the fields from ContactForm1 into ContactForm2? from django import forms class ContactForm1(forms.Form): subject = forms.CharField(max_length=100) sender = forms.EmailField() class ContactForm2(forms.Form):

Re: Form wizard and dynamic fields

2012-07-07 Thread Leandro Alves
Does anyone have any advice please? :) Thanks, Leandro On 7. juli 2012, at 02:33, Leandro Alves <ldal...@gmail.com> wrote: > Hello, > > I'm starting to use Django now and I would need some orientations in order to > create a Form Wizard. > > The idea is sim

Form wizard and dynamic fields

2012-07-06 Thread Leandro Alves
Hello, I'm starting to use Django now and I would need some orientations in order to create a Form Wizard. The idea is simple: - The first form will contain only one field to type the name of a directory. - The content of the second form, will depend on the directory name

Form wizard and dynamic fields

2012-07-06 Thread Leandro Alves
Hello, I'm starting to use Django now and I would need some orientations in order to create a Form Wizard. The idea is simple: The first form will contain only one field to type the name of a directory. The content of the second form, will depend on the directory name that was entered

form-wizard

2012-05-30 Thread Xavier Pegenaute
Hi, I want to use a form wizard to modify instead of create an instance in the DDBB. I don't know exactly how I can do it because in the URL there is the information of the instance to modify and the step in the form, so I don't know how I can mix everything. I am using django-merlin

Form wizard and dynamic choices

2011-11-26 Thread brian mckinney
I've been trying to implement a relatively simple django app, in which I need to have a multistep form and a dynamically generated choice field. I'm using Django 1.3 and the Form Wizard. In step one of the form, I ask for a URL from the user, which I'd like to use to dynamically generate the list

can you use the Form Wizard with Model Forms?

2011-07-13 Thread sq1020
and the user submitted data is added to the database. I took a look at the docs for the Form Wizard and it seems like it would work for model forms as well? Can someone confirm this? And if it does, can someone explain the process of creating a WizardView class. This example is given in the docs and I

Re: Form wizard get_template_names()

2011-07-12 Thread Dario Vergara
Here is the solution: def get_template_names(self): next_step = int(self.steps.current) return 'step_%s.html' % next_step Simple solution. What is confusing is that the documentation says that get_template_names() should return a list. -- You received this message because

Form wizard get_template_names()

2011-07-10 Thread Dario Vergara
clicks next on step 1? The documentation on how to implement this method is missing from https://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Stay on a step in a form wizard until the user is ready to move on.

2011-07-01 Thread Levi Campbell
I'm working on a site that uses a form wizard as the main user interface. I've got one step however that I'd like to have a user be able to complete it several times if needed, storing the data bound to the user's session. Is there a way to do this using the FormWizard class, or am I asking too

Re: Form wizard

2011-06-22 Thread Kevin Renskers
The documentation on https://docs.djangoproject.com/en/1.3/ref/contrib/formtools/form-wizard/ is pretty clear. The part where you're going in the wrong direction is the url config. Compare with https://docs.djangoproject.com/en/1.3/ref/contrib/formtools/form-wizard/#hooking-the-wizard

Form wizard

2011-06-19 Thread veva...@yandex.ru
Please give me a reference to a full example of Form wizard. To learn it I try to solve such an application (details are omitted): urls.py: urlpatterns = patterns('', (r'^hotel_wizard/', 'my.app.views.hotel_info'), models.py: class Country(models.Model): name = models.CharField(max_length

How to remember that I dynamically added a form to the form wizard?

2011-05-26 Thread Stodge
Quick form wizard question. I create my wizard with one form. When that one is submitted, I add a second form to the form list. This second form/step is displayed. When I submit this one, the wizard suddenly thinks it only has one form, not two. I realise that when I create the form wizard in my

Re: Thread safety with Form Wizard

2010-05-29 Thread Wiiboy
Anyone? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this

Thread safety with Form Wizard

2010-05-28 Thread Wiiboy
Hi guys, I'm a relative newbie at using Django in an actual production setting. I'm having trouble using the form wizard at the moment, and I noticed that there is one instance of the Wizard class, instantiated in urls.py. Is there anything I should worry about as far as thread safety

Re: Uploads in the Form Wizard

2010-05-04 Thread Russell Keith-Magee
On Mon, May 3, 2010 at 12:02 PM, Wiiboy <jordon...@gmail.com> wrote: > What would be the best workaround (or is there one)? > Perhaps overriding FormWizard.process_step()? The only obvious workaround I can think of is to treat the N-form wizard problem as a (N-1) form wizard, plus 1

Re: Uploads in the Form Wizard

2010-05-02 Thread Wiiboy
What would be the best workaround (or is there one)? Perhaps overriding FormWizard.process_step()? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this

Re: Uploads in the Form Wizard

2010-05-02 Thread Wiiboy
Oh. Dang. Thanks for your help Russell. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: Uploads in the Form Wizard

2010-05-02 Thread Russell Keith-Magee
On Mon, May 3, 2010 at 11:49 AM, Wiiboy wrote: > Is that in trunk (i.e. could I revert to an older SVN revision and > have it work)? Technically, yes, but you'd have to revert to a pre-1.0 revision. The FileField refactoring occurred over 2 years ago. Yours, Russ Magee %-)

Re: Uploads in the Form Wizard

2010-05-02 Thread Wiiboy
Is that in trunk (i.e. could I revert to an older SVN revision and have it work)? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: Uploads in the Form Wizard

2010-05-02 Thread Russell Keith-Magee
On Mon, May 3, 2010 at 11:32 AM, Wiiboy <jordon...@gmail.com> wrote: > Hi guys, > I'm trying to use the form wizard for a model.  The problem is, I have > an ImageField in the last step, but I keep getting a "This field is > required" on it.  request.FILES contain

Uploads in the Form Wizard

2010-05-02 Thread Wiiboy
Hi guys, I'm trying to use the form wizard for a model. The problem is, I have an ImageField in the last step, but I keep getting a "This field is required" on it. request.FILES contains the uploaded file, however. Can I use ImageField's in a Wizard? -- You received this message b

Unit tests for form wizard

2009-09-16 Thread AndyH
Any tips on unit testing form wizards using the test client? Other than just faking the name/values for each POST in the wizard, which works, but is a little fiddly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Form Wizard won't proceed past the second step

2009-08-14 Thread Adam Olsen
On Fri, Aug 14, 2009 at 4:17 PM, Dustin<dustin.da...@gmail.com> wrote: > > Looks like you're not implementing the done() method required in > FormWizard sub-classes. > http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/#creating-a-formwizard-class It actua

Re: Form Wizard won't proceed past the second step

2009-08-14 Thread Dustin
Looks like you're not implementing the done() method required in FormWizard sub-classes. http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/#creating-a-formwizard-class On Aug 14, 11:29 am, Adam Olsen <arol...@gmail.com> wrote: > I've got a FormWizard with

Form Wizard won't proceed past the second step

2009-08-14 Thread Adam Olsen
I've got a FormWizard with two forms in it. It validates the first form correctly, and proceeds onto the second form, but when I click submit for the second form, it does no validation and just jumps back to the first step. I get no errors in this process. My urls.py looks like this:

Newb problem with form wizard

2009-06-03 Thread adelaide_mike
My non-wizard templates are in this directory, all working as expected: my_wha_templates/wha/ I have built a form wizard in my whasite.wha.forms.py exactly as per the docs. I have pasted the suggested template HTML into a file: my_wha_templates/wha/contact/forms/wizard.html My urls.py

Re: Form Wizard and Saving to Database

2009-05-19 Thread geraldcor
So that's how that works. Brilliant. Thank you. It worked perfectly. On May 19, 1:43 am, George Song wrote: > On 5/18/2009 4:01 PM, geraldcor wrote: > > > Hello all, > > > I am working on my second Django app and it involves a very long form. > > I successfully used

Re: Form Wizard and Saving to Database

2009-05-19 Thread George Song
On 5/18/2009 4:01 PM, geraldcor wrote: > Hello all, > > I am working on my second Django app and it involves a very long form. > I successfully used modelForms in my last app to successfully save > form data to a database. > > With this long form, I have split it up into smaller forms

Form Wizard and Saving to Database

2009-05-18 Thread geraldcor
Hello all, I am working on my second Django app and it involves a very long form. I successfully used modelForms in my last app to successfully save form data to a database. With this long form, I have split it up into smaller forms (forms.Form not ModelForms) and used the FormWizard to tie it

Re: Form Wizard and captcha

2009-04-13 Thread qrilka
a ticket on code.djangoproject.com/simpleticket attach the patch   > and see what the devs think of it. > > adi > > > > > Kirill. > > > On 8 апр, 22:29, qrilka <qri...@gmail.com> wrote: > > > I've stumbled upon from revalidation in form wizard. The similar &g

Re: Form Wizard and captcha

2009-04-13 Thread Adi Sieker
rilka <qri...@gmail.com> wrote: > > I've stumbled upon from revalidation in form wizard. The similar > > problem was discussed a year ago > > -http://groups.google.com/group/django-users/browse_thread/thread/a6fd > ... > > I have somewhat different problem: on the

Form Wizard and captcha

2009-04-13 Thread Kirill Zaborski
need to make any additional steps for this to happen? Kirill. On 8 апр, 22:29, qrilka <qri...@gmail.com> wrote: > I've stumbled upon from revalidation in form wizard. The similar > problem was discussed a year ago - http://groups.google.com/group/django-users/browse_thread/thread/a6fd

Form Wizard and captcha

2009-04-08 Thread qrilka
I've stumbled upon from revalidation in form wizard. The similar problem was discussed a year ago - http://groups.google.com/group/django-users/browse_thread/thread/a6fdf2971f96deed/6313eb5a18a40085 I have somewhat different problem: on the last of my forms I use captcha field, but after

Re: Form wizard - previous step

2009-04-06 Thread eli
t; > regards. > > That can't be done with the current form wizard. A session-based > formwizard that would have allowed this was on the list for django > 1.1, but nobody really put the work into it. The ticket for it is > here:http://code.djangoproject.com/ticket/9200 --~--~--

Re: Form wizard - previous step

2009-04-06 Thread Elliott
On Apr 5, 4:24 pm, eli <eliasz.wont...@gmail.com> wrote: > No, how to add  functionality to back to the previous step without > deleting current step's data. > > regards. That can't be done with the current form wizard. A session-based formwizard that would have allowed th

Re: Form wizard - previous step

2009-04-05 Thread eli
No, how to add functionality to back to the previous step without deleting current step's data. regards. On 5 Kwi, 22:39, codecowboy wrote: > Are you asking how to modify the html in the multi-step-form app to > add a button? > > On Apr 5, 4:33 pm, eli

Re: Form wizard - previous step

2009-04-05 Thread codecowboy
Are you asking how to modify the html in the multi-step-form app to add a button? On Apr 5, 4:33 pm, eli wrote: > No, I have one view.. My example is similar to that one from Django > tutorial:http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizar... > >

Re: Form wizard - previous step

2009-04-05 Thread eli
No, I have one view.. My example is similar to that one from Django tutorial: http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/?from=olddocs regards. On 5 Kwi, 21:52, codecowboy <guy.ja...@gmail.com> wrote: > Do you have one view for each form or do you use

Re: Form wizard - previous step

2009-04-05 Thread codecowboy
Do you have one view for each form or do you use one view with a large amount of conditional logic (e.g. if stepone then show this form elseif steptwo show this form)? On Apr 5, 1:14 pm, eli wrote: > anybody ? :-) > > regards. > > On 4 Kwi, 11:17, eli

Form wizard - previous step

2009-04-04 Thread eli
Hi, What is the best way to add button "previous step" to multi-steps form ? Thank You. regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Previous form in form wizard

2009-03-05 Thread Nate Soares
Is there an easy way to add a "previous step" button to a form wizard page? Thanks, -Nate --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: Form wizard back button

2009-02-17 Thread join.toget...@gmail.com
There's a ticket for a formwizard that will rely on sessions rather than POST data (http://code.djangoproject.com/ticket/9200) but it doesn't appear that anyone's working on it at the moment. If you really want to see this happen, your best bet is to read through the ticket and pick up work where

Re: Form wizard back button

2009-02-16 Thread urukay
Maybe i don't have exact solution to your problem, because i've never user form wizard so far. I always create my own forms. During user's registraton process i save user.id in session and in every view i'm testing if this ID is in session (it menas, register process has not been finished

Re: Form wizard back button

2009-02-16 Thread alain D.
anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to

Dynamic Form Wizard

2009-02-11 Thread Jonathan Lukens
I am trying to dynamically add forms to a form wizard. Initially the form wizard subclass is instantiated with three forms as follows: # from urls.py (r'^add/$', RecipeWizard([HeaderForm, IngredientForm, BodyForm])), The idea is that a user will add any number of ingredients to a recipe, so

Re: Form wizard back button

2009-02-09 Thread alain D.
It seems to me like a quite simple requirement for a form wizard ... but I'm still unable to find a simple way to do it ... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Form wizard back button

2009-02-06 Thread alain D.
Is there a way to add a back button using django's form wizard to navigate back to a previously filled form? I'd like users to be able to fill form1, go to form2, click "back": go to form1 (with populated fields) and continue the process ... is tha

Re: Form Wizard, using reverse to pass data to extra_context

2009-01-16 Thread coulix
Perfect ! Then i just do a {% ifequal request.GET.extra_context "foo" %} and it works. Thanks On Jan 16, 3:10 am, Malcolm Tredinnick wrote: > On Thu, 2009-01-15 at 04:13 -0800, coulix wrote: > > Hi, > > > I use a formWizard for a signup process: > > >    

Re: Form Wizard, using reverse to pass data to extra_context

2009-01-15 Thread Malcolm Tredinnick
On Thu, 2009-01-15 at 04:13 -0800, coulix wrote: > Hi, > > I use a formWizard for a signup process: > > url(r'^signup/student/$', SignupStudentWizard([SignupForm, > StudentForm]), > {'extra_context':{"type":"student"}}, name='signup_student',), > > Now, used as it is it works fine.

  1   2   >