Hi,
I'm trying to make a redirect after a form has been submitted to the
page with the form itself. Still I want to keep the state of the
fields of the form. As the form becomes unbound after such redirect I
probably have to dynamically set the initial values for the fiels of
the specific exemplar
On Fri, 2009-02-13 at 07:15 -0800, Evgeny wrote:
> Hi,
> I'm trying to make a redirect after a form has been submitted to the
> page with the form itself. Still I want to keep the state of the
> fields of the form. As the form becomes unbound after such redirect I
> probably have to dynamically se
I meant django form.
Sure, I know about initial values in the constructors of fields, so I
can set these values in "design-time" and get forms with some
defaults.
But what happens in my situation:
-user clicks on the submit button of a form and sends some data to
server
-server redirects to the sa
On Feb 14, 8:13 am, Evgeny wrote:
> I meant django form.
> Sure, I know about initial values in the constructors of fields, so I
> can set these values in "design-time" and get forms with some
> defaults.
> But what happens in my situation:
> -user clicks on the submit button of a form and sends
If I am not mistaken, you're talking about passing states between the
request that is returning the redirect after a POST and the new
request that is rendering the GET.
If you really need to do that you can use sessions to store the data
that you need and then just set the initial data for the fo
5 matches
Mail list logo