Submit Your Article Forum Rules

Results 1 to 6 of 6

Thread: Web forms via Internet Explorer and disabling the enter key?

  1. #1
    Junior Member
    Join Date
    May 2004
    Posts
    2

    Web forms via Internet Explorer and disabling the enter key?

    I am sure there must be a way to disable the enter key to submit when using a web form in IE. I have a client who insists that a visitor who fills out his form must use the submit button. Has anyone ever done this? Can it even be done?

  2. #2
    WebProWorld MVP dharrison's Avatar
    Join Date
    May 2005
    Location
    Essex, UK
    Posts
    1,320
    You can use the tab key and hit 'enter' when you get to the 'Submit' key.

    Sounds like your customer either knows a bit about Web Design, or thinks he/she does. Ask them why? Maybe they have a reservation about something that needs explaining.

    That has actually given me an idea for a post, so ta very much :)
    Deb Harrison
    Hidden Content | Hidden Content
    If I have helped please add to my Reputation

  3. #3
    Junior Member
    Join Date
    May 2004
    Posts
    2

    We'd like to disable the enter key

    We'd like to disable the enter key entirely for that page and web form, but not sure how we can do it. Does anyone know of a javascript that would work?

  4. #4
    Member
    Join Date
    Aug 2005
    Posts
    98
    I pretty sure that is not possible. IE does a lot of stuff to forms automatically. Making "enter" submit it is one that can be a pain sometimes.

  5. #5
    WebProWorld MVP Chris's Avatar
    Join Date
    Jul 2003
    Posts
    905
    Former WebProWorld Admin
    Hidden Content

  6. #6
    Senior Member ADAM Web Design's Avatar
    Join Date
    Dec 2003
    Posts
    2,100
    IIRC, although I haven't used one in years, a non-Javascript way to do this would be to have a "Reset" button as well as as submit button. That way, IE thinks there are two submit buttons.

    Personally, I like the enter feature and have gotten used to it, though. Any time I don't have to click the mouse is time I like to spend.

Similar Threads

  1. Internet Explorer 7
    By drummin in forum Graphics & Design Discussion Forum
    Replies: 13
    Last Post: 12-22-2006, 09:06 AM
  2. Internet Explorer 7.0
    By countryjoe in forum IT Discussion Forum
    Replies: 4
    Last Post: 12-13-2006, 11:55 AM
  3. Internet Explorer 7
    By afcredultra in forum The Castle Breakroom (General: Any Topic)
    Replies: 5
    Last Post: 02-09-2006, 09:46 AM
  4. Internet Explorer 7
    By richkoi in forum Graphics & Design Discussion Forum
    Replies: 18
    Last Post: 02-23-2005, 01:16 PM
  5. Internet Explorer Pop-ups
    By pedstersplanet in forum Internet Security Discussion Forum
    Replies: 30
    Last Post: 07-12-2004, 05:52 PM

Posting Permissions

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