sjones Posted May 17, 2006 Share Posted May 17, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/9827-simple-question-submitting-form/ Share on other sites More sharing options...
nogray Posted May 24, 2006 Share Posted May 24, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/9827-simple-question-submitting-form/#findComment-38736 Share on other sites More sharing options...
perezf Posted May 29, 2006 Share Posted May 29, 2006 what is it that you want your form to do exactlyand post the code Quote Link to comment https://forums.phpfreaks.com/topic/9827-simple-question-submitting-form/#findComment-39852 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.