Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    Bloomington, Indiana, USA
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript Form Validation

    I

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Javascript Form Validation

    At first glance, you may need to check your comparison line: if (myvar=="hoosiere" || "HOOSIER")
    It should probably read: if(myvar=="hoosiere" || myvar=="HOOSIER")

    (You need to add a comparison operator for the second value.)

    Hope this helps!

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Location
    Bloomington, Indiana, USA
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Javascript Form Validation

    So simple... It is working now. Thank you for responding, and so quickly, too!

    Kathy

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Javascript Form Validation

    I'm so glad it worked! That one happened to be easy to spot because I've made the same mistake myself a number of times. Whew! <img src=/S/thumbup.gif border=0 alt=thumbup width=15 height=15>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •