Give help. Get help.

  • # January 11, 2009 at 12:37 pm

    hey everyone,

    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 "" … 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"

    any help?

    thanks in advance…


    # January 18, 2009 at 11:27 pm

    id try
    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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.