Ok I have a form inside a shadowbox, this thing will just not validate… I have tried it a million different ways. It also lives inside a WordPress Theme which I don’t think is breaking it. Jquery is loaded in the header.
the form is pasted into a gist: http://gist.github.com/578270
Any ideas? Thanks so much, feel like I am banging my head into a wall.
The trick is to use the onFinish callback function to trigger the validation for the form that is inside the Shadowbox. If you use an ID for your form like I did, shadowbox will actually create a duplicate copy of the form so you need to target the form within the shadowbox itself. I used #sb-player to do this.
HTML Shadowbox Link
JavaScript/jQuery
HTML Form (hidden in footer)
I hope this helps, I’m happy to explain in more detail if needed.