Hi all,
Bit of an edge-case request this one, but here goes...
I'm using userforms for a project (client will need to add forms later on).
Some of the forms are opening in a fancybox JS popup. (http://fancybox.net/)
When validation fails, the behaviour of userforms / forms is to redirect back to the referring page and re-display the form with the requisite error messages. In this case the user is redirected back to the page they opened the form on, but the form isn't shown (as it was opened using fancybox)
I'm wanting to alter / override the default behaviour to add a query string variable to the redirect which I can use to identify the form which needs to be re-displayed.
I've examined UserDefinedForm.php and Form.php but can't see where the redirect occurs - can anyone offer any pointers?
Thanks,
Paul