Reputation: 7753
I am using this plugin:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
To validate a form that is hosted on a different server from my development site. All the validation scripts are on that document and appear to be working fine.
http://forms.icis.com/content/CHX0041_RequestFreeTrial
I am using an iframe to pull in the form from the external site but when i try and submit the form and fire the validation script it is not working. It just submits the form as if there was no validation at all.
The iframe sits within a CMS page that is contained in another form so i thought the issue may be there. This fiddle demonstrates the issue:
EDIT
It seems as though removing the URL paramaters from the iframe src fixes the issue:
However i need them so as to pass them through to some hidden input variables in the child iframe. Is this a known issue?
Upvotes: 2
Views: 2160
Reputation: 7753
There was a JS error causing this to fail the validation. Commented out and seems to be working now.
Upvotes: 0
Reputation: 1870
In your form you're setting the method="#" and action="post". The method should be method="post" and action should be the url where you're posting.
Upvotes: 1