rekha Posted February 29, 2008 Share Posted February 29, 2008 Hi I have a form In that form when i press enter key in first field it will go to second field and could not submit the form.How can i do this? Regards Rekha http://hiox.org Link to comment https://forums.phpfreaks.com/topic/93655-how-to-convert-enter-key-with-tab-key-functionality-in-onkeyup-event/ Share on other sites More sharing options...
haku Posted February 29, 2008 Share Posted February 29, 2008 How can you do what? Link to comment https://forums.phpfreaks.com/topic/93655-how-to-convert-enter-key-with-tab-key-functionality-in-onkeyup-event/#findComment-479838 Share on other sites More sharing options...
Ads Posted March 1, 2008 Share Posted March 1, 2008 How can you do what? I think he wants it to onEnterKey To submit the Form instead on Going to the next text area. Link to comment https://forums.phpfreaks.com/topic/93655-how-to-convert-enter-key-with-tab-key-functionality-in-onkeyup-event/#findComment-480610 Share on other sites More sharing options...
rekha Posted March 3, 2008 Author Share Posted March 3, 2008 Hi I want not to submit the form when enter key is pressed. Regards Rekha Link to comment https://forums.phpfreaks.com/topic/93655-how-to-convert-enter-key-with-tab-key-functionality-in-onkeyup-event/#findComment-482298 Share on other sites More sharing options...
rekha Posted March 21, 2008 Author Share Posted March 21, 2008 Hi any answers? Regards Rekha http://hiox.org Link to comment https://forums.phpfreaks.com/topic/93655-how-to-convert-enter-key-with-tab-key-functionality-in-onkeyup-event/#findComment-497435 Share on other sites More sharing options...
rekha Posted March 25, 2008 Author Share Posted March 25, 2008 Hi I have a form.In that first field when we type a letter it displays a list of items and when we select a item from the list by pressing enter key it should not submit the form instead it should go to the next field.I have called a function to set the value for the second field if an item is selected in the first field.I have done like this. if(e.keycode==13){ setfn(); return false; } setfn() function is to set the value for the second field automatically if an item in the first field is selected. But it doesn't work.Pls solve this.... Regards Rekha http://hiox.org Link to comment https://forums.phpfreaks.com/topic/93655-how-to-convert-enter-key-with-tab-key-functionality-in-onkeyup-event/#findComment-500263 Share on other sites More sharing options...
rekha Posted April 2, 2008 Author Share Posted April 2, 2008 Hi guys, any answers? Regards Rekha Link to comment https://forums.phpfreaks.com/topic/93655-how-to-convert-enter-key-with-tab-key-functionality-in-onkeyup-event/#findComment-507194 Share on other sites More sharing options...
GB_001 Posted April 2, 2008 Share Posted April 2, 2008 Post your function. =P. Link to comment https://forums.phpfreaks.com/topic/93655-how-to-convert-enter-key-with-tab-key-functionality-in-onkeyup-event/#findComment-507951 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.