Print Page | Close Window

jquery validate - form submit prematurely

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=29821
Printed Date: 28 March 2026 at 4:56pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: jquery validate - form submit prematurely
Posted By: snooper
Subject: jquery validate - form submit prematurely
Date Posted: 27 September 2011 at 3:45pm
hi all,

i have a jquery validate setup on the form. while the form is being filled out, i ajax 2 of the field values to see if the form is acceptable or not, and as a result disable/enable the submit button of the form.

it seems like as a result - the form is prematurely validated - which should only happen when the submit button is hit.

can anyone suggest a fix?

thanks!

Here is my jsfiddle: http://jsfiddle.net/7S9W3/" rel="nofollow - http://jsfiddle.net/7S9W3/

PS - my form is actually much longer than in the sample i setup - that's why i check the 2 values while the form is still being filled out.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net