This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Form validation and sfModalBoxPlugin

Forum to discuss ExtJS and other JS plugins

Form validation and sfModalBoxPlugin

by ripador » Fri Apr 24, 2009 1:24 pm

I'm showing a modal box window with a form in it (forms 1.1), and the problem is that when I validate the form the modal box disapears and I'm redirected to a new page.

I'm using this code in the submit button to show the results in the modal box:
Code: Select all
onclick="'URL, {width: 666, method: 'post'}); return false;"

The problem appears to be in the isValid method, because if I don't use sfFomr validation and do it "by hand" there is no problem.

Any ideas of how can I make it work?
User avatar
Junior Member
Posts: 9
Joined: Wed Apr 15, 2009 12:06 pm
Location: Catalunya