Data Validation

Discussion in 'Javascript' started by KDawg44, Sep 25, 2007.

  1. KDawg44

    KDawg44 Guest

    I am validating some html form input data with some javascript. How
    do I prevent the form from performing the ACTION if the data
    validation fails?

    Thanks.
    KDawg44, Sep 25, 2007
    #1
    1. Advertising

  2. On 25 Sep, 16:12, KDawg44 <> wrote:
    > I am validating some html form input data with some javascript. How
    > do I prevent the form from performing the ACTION if the data
    > validation fails?
    >
    > Thanks.


    return false;
    Captain Paralytic, Sep 25, 2007
    #2
    1. Advertising

  3. KDawg44

    KDawg44 Guest

    On Sep 25, 10:12 am, KDawg44 <> wrote:
    > I am validating some html form input data with some javascript. How
    > do I prevent the form from performing the ACTION if the data
    > validation fails?
    >
    > Thanks.


    Nevermind. I did not have the return in the onSubmit part of my form
    tag. All set now.

    Thanks.
    KDawg44, Sep 25, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Colin Mackay
    Replies:
    0
    Views:
    2,687
    Colin Mackay
    Jun 25, 2003
  2. Libs
    Replies:
    0
    Views:
    1,491
  3. Colin Basterfield

    Web form validation vs object validation

    Colin Basterfield, Nov 28, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    425
    Tommy
    Nov 29, 2003
  4. Matt
    Replies:
    14
    Views:
    4,095
    Chad Z. Hower aka Kudzu
    Jan 30, 2004
  5. Lucas Tam
    Replies:
    2
    Views:
    1,107
    Lucas Tam
    Feb 26, 2004
Loading...

Share This Page