Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q27

Feedback on: irt.org FAQ Knowledge Base Q27

Sent by joan on July 20, 1999 at 16:25:29: - feedback #318

Worth:
Worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
this doesn't seem to answer the question that's asked... neither of the two forms in the example has more than one text field!



Sent by Paul Sanders on December 10, 1999 at 12:35:25: - feedback #662

Worth:
Not worth reading

Comments:
I don't think the answer you give is really the answer to the question. The question is how to get the enter key to submit the form when there is more than one text field - the question this answers is how to make sure all of the fields are filled in before submitting the form.

Bummer, as I wanted the answer to the first question!


Sent by Jesus Marquez on February 14, 2001 at 05:09:39: - feedback #2364

Worth:
Worth reading

Comments:
It doesn't work in NN when the fields are inside a table.

Regards,
Jesus


Sent by Mr. Werner on May 22, 2001 at 14:20:11: - feedback #2752

Worth:
Very worth reading

Technical:
Not technical enough

Comments:
Try this JavaScript:

document.onkeydown=checkKeys;
if (navigator.appName == 'Netscape')
document.captureEvents(Event.KEYDOWN);

function checkKeys(e)
{
if (navigator.appName == 'Netscape')
theKey = e.which;
else
theKey = window.event.keyCode;

if (theKey == 13)
{
document.YOURFORMNAME.submit();
return false;
}
}


©2018 Martin Webb