[symfony-users] Re: How to show the validation errors inside the modal box?

2010-05-17 Thread Tom Ptacnik
Ok, and how do you show the modal box? Is it a simple div or some library? What you need is to modify the process form action... something like: if ($form->isValid()) { .. save it, redirect } else { //show modal box with errors .. e.g. set template, renderPartial(), redirect or don't redirect.

[symfony-users] Re: How to show the validation errors inside the modal box?

2010-05-13 Thread Javier Garcia
It desappears. Javi On May 7, 8:31 am, Tom Ptacnik wrote: > What happen if there are no errors on the form in modal box? The modal > box remain showed with some information like "thank you for your > informations" or it disappears? > > On 4 kvě, 12:12,JavierGarcia wrote: > > > > > Hi, > > > i ha

[symfony-users] Re: How to show the validation errors inside the modal box?

2010-05-06 Thread Tom Ptacnik
What happen if there are no errors on the form in modal box? The modal box remain showed with some information like "thank you for your informations" or it disappears? On 4 kvě, 12:12, Javier Garcia wrote: > Hi, > > i have a form inside a modal box. If i have some validation error, the > form is