Jump to content

Archived

This topic is now archived and is closed to further replies.

sjones

Simple Question submitting form?

Recommended Posts

Can someone tell me the easiest way to have a form with a single text input field and a submit button. But you would be able to submit the form with the submit button or by hitting the enter key.

Share this post


Link to post
Share on other sites
If the the text input (not textarea) have the focus, the form should be submitted by hitting the enter key. You can set the focus to the text input when the page load.

Share this post


Link to post
Share on other sites
what is it that you want your form to do exactly
and post the code

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.