Sunday, November 2, 2008

Re: Form fields after bad submit

Make sure you post back to the same action the form is on, and you
aren't redirecting between when the validation error occurs and the re-
display of the form.

Cheers,
Adam

On Nov 2, 8:55 am, Al <al.scheur...@gmail.com> wrote:
> Hi,
> I'm using Cake 1.2 RC3.
>
> In a signup form after a submit, (after a validation error occurs) all
> of the text that the user tried to submit is cleared.  How can I get
> that to stay after a validation error so that they can just correct
> the mistake they made an resubmit?
>
> For some reason I though that cake handled that automagically, but
> maybe I'm not doing something right.. Any suggestions?
>
> Thanks,
> al
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: