Thank you Nicolas,
I finally send my response with javascript which displays errors if
errors occured or a notice message if the form was valid.
Regards,
Olivier
On 27 juin, 15:02, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 27, 2008 at 2:41 PM, obalais <[EMAIL PROTECTED]> wrot
On Fri, Jun 27, 2008 at 2:41 PM, obalais <[EMAIL PROTECTED]> wrote:
> So I can't repopulate automatically my form with this system, can I ?
Yes, with something like jQuery or even with plain old javascript it's easy.
> If I understand what you mean, I'm able to display form errors to the
> user
Hi,
So I can't repopulate automatically my form with this system, can I ?
If I understand what you mean, I'm able to display form errors to the
user but not use the true power of the new form framework...
Maybe I'm wrong
Thank you
On 27 juin, 11:44, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote
Hi,
So I can't repopulate automatically my form with this system, can I ?
If I understand what you mean, I'm able to display form errors to the
user but not use the true power of the new form framework...
Maybe I'm wrong
Thank you
On 27 juin, 11:44, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote
On Fri, Jun 27, 2008 at 10:57 AM, obalais <[EMAIL PROTECTED]> wrote:
> But i don't know how i can use the new form framework to validate the
> ajax form submission and return errors msgs or a success update to the
> template...
In your ajax action, you can just bind the values to your sfForm
ins