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.
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
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