elclanrs / jq-idealforms-old

The ultimate framework for building and validating responsive HTML5 forms.
665 stars 95 forks source link

Send Entire Form via Ajax #85

Closed spyderwebworks closed 11 years ago

spyderwebworks commented 11 years ago

Hi

I'm using your great plugin for an Estate Agents site in France.

However, I would like to be able to submit the entire form using Ajax. Obviously one can submit/check individual fields via Ajax, but when you get to Submit I'm a bit lost as to how to achieve it. If I just put an onclick event on the submit it then avoids the form error checking and submit disabling (which kind of defeats the object).

I tried looking through the code, but I can't see how I can modify it to allow for the Submit event to make an Ajax call to POST the entire form to a backend php program.

Am I being incredibly stupid??

elclanrs commented 11 years ago

See if this helps: https://github.com/elclanrs/jq-idealforms/issues/42

spyderwebworks commented 11 years ago

Hi

Yep – eventually spotted that entry (sorry - doh!) – having a struggle with it now – will report success or failure later !

Many thanks Neil

From: elclanrs Sent: Tuesday, November 27, 2012 9:21 AM To: elclanrs/jq-idealforms Cc: spyderwebworks Subject: Re: [jq-idealforms] Send Entire Form via Ajax (#85)

See if this helps: #42

— Reply to this email directly or view it on GitHub.

spyderwebworks commented 11 years ago

Yo

Seems to help a tad – just got a stupid error where my handling php file doesn’t want to return to the calling page!

N

From: elclanrs Sent: Tuesday, November 27, 2012 9:21 AM To: elclanrs/jq-idealforms Cc: spyderwebworks Subject: Re: [jq-idealforms] Send Entire Form via Ajax (#85)

See if this helps: #42

— Reply to this email directly or view it on GitHub.