Hi all, I'm a newbie in js frameworks.
I've a form and when it gets submitted either server validation is ok, a results page is showed with a slide transition, or server validation fails and a error page is generated. In that last case I'd like to load the error page as if it was a modal dialog showing what is wrong, and using a popup transition instead. As long as I know, i have to specify both the transition type and if the anchor will drive to a dialog in the form, but, at that point, i don't know which the result will be, either ok or error. I need to be able to specify both transition type and dialog behaviour based on the result of the server validation.
Is there a way to accomplish my wishes?
Thnx a lot.