Don't worry. Form works now. Thanks a lot. But would be great if you can explain it a bit on how your code works and the sequence of how process_steps and get_form works as I see it seems called a few time between steps
Thanks =) -r On Aug 21, 1:42 am, rr <[EMAIL PROTECTED]> wrote: > It works well. Thanks a lot. > > But now another problem. It seems "def done " is not working. It loops > back to the step1 and def done is never called > > And do you mind explain how your code works? I did a "printstep" > before returnformin the def get_from, it prints 0, 1, 0. It seems it > has been called 3 times when submit in thesecondstep > > What is the sequence of the call of process_step and get_form? the > docs didn't explain much about this > > Thanks in Advance!! > -r > > On Aug 20, 4:59 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > > > On Aug 20, 12:57 pm, rr <[EMAIL PROTECTED]> wrote: > > > > Thanks Rajesh > > > > But...it doesn't work > > > It complains about form0 doesn't have cleaned_data. I guess > > > > form0 = super(MyFormWizard, self).get_form(0, data=data) > > > > only gives you aformwith no data?! > > > I just dpasted something that will help you capture the channelType > > fromstep0 and then use it when thestep1formis being created. > > >http://dpaste.com/hold/72763/ > > > If that doesn't work, please dpaste your MyFormWizard code. > > > -Rajesh D --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---