Results 1 to 5 of 5

Thread: Deactivate Enter key for submit button
      
   

  1. #1
    Alba is offline Private
    Join Date
    Sep 2008
    Posts
    1

    Question Deactivate Enter key for submit button

    Client ID 28323 - Domain: rotoplast.es

    In a form, is there a way to avoid that the Enter key activates the submit button? Sometimes customers forget to use the Tab key to go through the fields and press Enter instead and that sends off the form. Can this be customized or deactivated? Thank you.

  2. #2
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Deactivate Enter key for submit button

    How many times I have I been filling in a long form on a site and hit the return key instead of the tab!!! Know how your customers feel, but as far as I am aware there isn't... but I will be interested if someone knows of a way?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  3. #3
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,353

    Default Re: Deactivate Enter key for submit button

    Make fields required so if they hit enter they get the error page if its not filled in. This way they go back to the form.

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  4. #4
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Deactivate Enter key for submit button

    DOH!!! Of course
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Deactivate Enter key for submit button

    Hm... There are LOTS of Javascripts that will disable the Enter key as submit. Some will make the Ener key behave as Tab, others will simply deactivate it. Even Dynamic Drive has one of these scripts.
    Click on http://www.google.it/search?sourceid...ey+form+submit

    Of course, if the visitor has his Javascript disabled, it will not work.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49