SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Extremists Beware! Rockrz's Avatar
    Join Date
    Mar 2001
    Location
    In God's Country!
    Posts
    1,317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anybody know whassup with this?

    My e-mail form works great! So installed a javascrip code to check and remind people to put in an e-mail address.
    ( here's the working page: http://www.atmscrip.com/merchant_contact.html )

    Now, I tried to use this exact same set-up on another page, and keep getting error codes.

    So, I took the above page that is working great and saved it under a different name, uploaded it, and still get the error code! How could that be?

    Here's the URL of that page: http://www.atmscrip.com/contact_salesrep2.html

    If anyone could drop me a tip on how to get this working properly, I would be most greatful. It's bugging the crap out of me as to why the exact same code works on one page, but not on another.
    Last edited by Rockrz; Sep 6, 2002 at 13:30.
    .

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The 2nd link doesn't even show up for me (well, the frame content page is a 404)
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    Extremists Beware! Rockrz's Avatar
    Join Date
    Mar 2001
    Location
    In God's Country!
    Posts
    1,317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry...I forgot to come back and post that I've figured out what the problem was.

    Thanks for trying to help!
    .

  4. #4
    The doctor is in... silver trophy MarcusJT's Avatar
    Join Date
    Jan 2002
    Location
    London
    Posts
    3,509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please post the solution that you found, otherwise this thread is utterly useless to others who may encounter the same problem(s) in the future!!!
    MarcusJT
    - former ASP web developer / former SPF "ASP Guru"
    - *very* old blog with some useful ASP code

    - Please think, Google, and search these forums before posting!

  5. #5
    Extremists Beware! Rockrz's Avatar
    Join Date
    Mar 2001
    Location
    In God's Country!
    Posts
    1,317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In <input name="email" size="35" > (in my html form code) I had "Email", instead of "email"

    I have no idea why, but the capital letter made the javascript code that is checking for a valid e-mail address not to work.

    It's fixed, but I haven't a club as to why it's fixed.
    Many times I just experiment with things, and get them to working without knowing what I did.

    I just keep notes and follow the same procedure next time.
    .

  6. #6
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, in javascript most EVERYthing is case-sensitive. This certainly applies to object's DOM names.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





Bookmarks

Posting Permissions

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