On Friday 19 May 2006 10:07, tomass wrote: > Hi Folks, > > I'm sure there's a better solution for this, just not sure what it > is... > > I have a 4 step form and I'm currently capturing all posted data > between each step and then re-posting it through hidden input fields > and recapturing it at each successive step. URL redirects won't quite > work for me as a better solution, since I have so much data that I > don't want to show what all of that is in the URL such as: > > /<id>/<ipaddress><ipaddress><ipaddress>/<options>/ > > for instance. > > What's the more elegant solution for this? > > Thanks, Tom
Hi Tom, I think I remember seeing a similar thread out here months ago. I think the gist of which was - Store the results of each post/step in an object/model and pass that object's id along in subsequent forms/steps. In other words, each step stores part of the object (or objects) and after the first step the forms know which object they are working on. Steps greater than one simply reload the object from its id. I hope that helps, Eric. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

