i hope all is well.
i’ve been stuck on something for the past 3 hours… for those experienced in JQuery, it should be very easy…
if you try to run "http://pastebin.com/m51a040cd" … it will run smoothly BUT the problem is that if you fill the email in a wrong way, it will display the error but the page will still submit.
i don’t want the AJAX code to run unless all fields are working properly… these fields are "email and checkbox"
thanks in advance…
giving the submit button dIsabled="disabled" then,
making a var valid = false and once it is true (everything checks out on the forum)
remove the attr from the input button… but make sure you check the validation via php as well
You must be logged in to reply to this topic.