.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 6th, 2001, 11:17 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Enter Key Quandry

<i><b>Originally posted by : Mickey (ymcdonald@falconcity.com)</b></i><br />I have a user that is asking that she be able to use the enter key to advance from field to field on a form. She says that she has been on a site that has this functionality. I personally think that this is an old user who has no idea what she is talking about. Is she lying to me or have any of you seen anything like this?

Reply With Quote
  #2  
Old April 9th, 2001, 05:22 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Mage (mage@baltnet.ru)</b></i><br />Hi!<br /><br />I think she might have seen such page! Try to look at my code below. You're jumping to the next field by pressing Enter key.<br /><br />-----------* Code *-----------------<br /><html><br /><head><br /><script language="JavaScript"><br /><!--<br /><br />currentStep=1;<br /><br />function doSbm()<br />{<br /> document.form1.submit;<br />}<br /><br />function nextStep()<br />{<br /> currentStep = currentStep + 1;<br /> if (currentStep > 4) currentStep = 1;<br /> switch(currentStep){<br /> case 1:<br /> document.form1.name1.focus();<br /> break;<br /> case 2:<br /> document.form1.name2.focus();<br /> break;<br /> case 3:<br /> document.form1.name3.focus();<br /> break;<br /> case 4:<br /> document.form1.name4.focus();<br /> break;<br /> default:<br /> document.form1.name1.focus();<br /> }<br /> return false;<br />}<br />//--><br /></script><br /><br /></head><br /><body><br /><FORM name="form1" method="post" action="your URL" onsubmit="return nextStep()"><br /><input name="name1"><br><br /><input name="name2"><br><br /><input name="name3"><br><br /><input name="name4"><br><br /><input type="submit" value="Next field"><br><br /><input type="button" value="Press here to submit the form" onclick="doSbm()"><br /></FORM> <br /></body><br /></html><br />-----------* End of Code *-----------------<br /><br />Best regards,<br /><br />Mage<br /><br /><br /><br /><br />------------<br />Mickey at 4/6/2001 9:17:05 AM<br /><br />I have a user that is asking that she be able to use the enter key to advance from field to field on a form. She says that she has been on a site that has this functionality. I personally think that this is an old user who has no idea what she is talking about. Is she lying to me or have any of you seen anything like this?

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Enter Key Quandry


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway