Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Jun 2002
    Location
    San Antonio, Texas, Uganda
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Submit Button (Front Page 2000)

    Is there a way to disable the enter key from activating the submi tbutton when that button is in focus?

    Thanks in advance,
    Perry Van

  2. #2
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Submit Button (Front Page 2000)

    I had this thread marked to watch it, because I was curious about the answer. I needed to prevent a form from being submitted by just hitting the Enter key. Hitting the enter key when a button was in focus was fine for me, because it was just like 'clicking' the button. But if you hit enter in a textbox, my form would submit without the value of a submit button, which is something I needed to know.

    I found code to fix that, but not to entirely block the Enter key if pressed when a submit button has focused....sorry.

  3. #3
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Submit Button (Front Page 2000)

    Er, why?
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

Posting Permissions

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