I have a link on a webpage, that when clicked opens up a window overlay (using ThickBox
http://jquery.com/demo/thickbox). In that window I have a form. I’m using eForm to generate the information in the window overlay. The form is styled and all the information appears as it should. eForm has built in validation, and if I leave any of the required forms blank, I get the validation error message checks.
This is fine, however, when I click to submit the form (and it either displays validation errors, or the thank you page), the result is an unstyled page ("/contact") with a plain white background, and the ThickBox overlay window is destroyed. I suspect there are some things I need to change in either eForm itself or the form call.
Here’s the info:
This is the anchor tag that calls the ThickBox
<a href="/contact?height=800&width=400&modal=true" class="thickbox">
Form Action
<form id="theForm" method="post" action="[~[*id*]~]">
Perhaps I need to somehow get the info from the anchor tag to piggyback onto the action. Not sure how to fix this.
Any suggestions?