Hi. I have a user who wants his form submitted when he presses [Enter].
Is it possible? If so, how? 5 2757
Dennis Allen wrote: Hi. I have a user who wants his form submitted when he presses [Enter]. Is it possible? If so, how?
That is the default behaviour for forms with a submit button in both IE
and Firefox (and by extension I guess, without testing, Mozilla et al).
Do you have a particular browser that doesn't do it? From memory, old
Netscape only submitted if the submit button was in focus.
--
Rob
I think it is the norm for [Enter] to submit the form. Check that there
are no JS errors or too much complexity in the form if it does not
work,
Here is form wth multiple text fields that I made which submits fine on
the [Enter] http://hotelbuysell.com/Add_Seller.php
so look at the code - its ordinary with some js validation of the
fields
Kitty
OpenSkyWebDesign.com
??? On most forms, I've alway had click the submit button with the mouse
cursor. Never could seem to [Tab] to one so I could hit [enter].
He wants [Enter] to submit the form, regardless of which input field he
is on...Dennis
"RobG" <rg***@iinet.net.au> wrote in message
news:PG*****************@news.optus.net.au... Dennis Allen wrote: Hi. I have a user who wants his form submitted when he presses [Enter]. Is it possible? If so, how?
That is the default behaviour for forms with a submit button in both IE and Firefox (and by extension I guess, without testing, Mozilla et al).
Do you have a particular browser that doesn't do it? From memory, old Netscape only submitted if the submit button was in focus.
-- Rob
??? On most forms, I've alway had click the submit button with the mouse
cursor. Never could seem to [Tab] to one so I could hit [enter].
He wants [Enter] to submit the form, regardless of which input field he
is on...Dennis
"MsKitty" <Ki**********@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com... I think it is the norm for [Enter] to submit the form. Check that there are no JS errors or too much complexity in the form if it does not work,
Here is form wth multiple text fields that I made which submits fine on the [Enter]
http://hotelbuysell.com/Add_Seller.php
so look at the code - its ordinary with some js validation of the fields
Kitty OpenSkyWebDesign.com
Dennis Allen wrote: ??? On most forms, I've alway had click the submit button with the mouse cursor. Never could seem to [Tab] to one so I could hit [enter].
He wants [Enter] to submit the form, regardless of which input field he is on...[...]
As Rob wrote correctly, the latter is the default behavior in all recent
browsers. Without answering the questions that might clarify this, it
is unlikely someone here is able to help you, let alone going to do so.
[Duplicate top post]
Please read and take heed of <http://jibbering.com/faq/> before posting.
PointedEars
--
But he had not that supreme gift of the
artist, the knowledge of when to stop.
-- Sherlock Holmes This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: T.E. |
last post by:
Hi all,
I'm a newbie in php.
I encounter a problem with php form that has only one textfield.
If I click on the submit button, the form works fine. However, when I
press 'enter', the form...
|
by: Jerry |
last post by:
Hello
I have some textboxes (input type=Text) in a Form.
In some Forms if I Press Enter while I am in the Textbox It causes a Submit.
The input type is text not submit.
It's obsure that the...
|
by: Cindy |
last post by:
Hi all you smarties out there,
I'm having a little conundrum with my asp.net page
Scenario:
I have a form (asp.net) with no code behind (as yet).
I have placed a javascript function on a...
|
by: yuelinniao |
last post by:
hi, I have got a simple way to make "textarea" support "auto-submit"
when pressing Ctrl+Enter, and tested under both IE and Firefox.
The common old method is like this:
<form name=form2>...
|
by: laredotornado |
last post by:
Hi,
I have a very simple form and I would like on Firefox and IE for the
form to submit upon the user pressing enter in the textfield. Right
now, I have
<script type="text/javascript">...
|
by: roxanaislam |
last post by:
Submitting Form by pressing the "ENTER" key
--------------------------------------------------------------------------------
Hi:
I have a search form in my application which has 4 dropdown...
|
by: nkoier |
last post by:
Hi, I've been going crazy trying to figure out what's wrong with our
Asp.Net 2.0 intranet site.
At the very top of our main page I provide a TextBox and a Button for
submitting Google searches....
|
by: Jake Barnes |
last post by:
I'm researching the Enter key. This is for an Ajax chat application.
The designer tells me that she wants people to be able to submit text
simply by hitting the Enter key. She wants this to happen...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
| |