Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus to textbox
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00689308
Message ID:
00689486
Views:
29
Hi Wayne,

This looks like a good start. You seem to know your java. I have placed your email address in a folder marked future projects. Perhaps we can do some business at a later date. Please visit www.eCentricPractice.com This is a web app written with striaght ASPs and VFP com objects. The only client side Java is what you supplied yesterday which has already been added to my login ASPs. Please feel free to enter the RECORDS ROOM via the Patient's Entrance. Simply press the "Patient Entrance" button and login.

username=four
password=apples

any thoughts?
Dr. G. (Neil)
PS Will the Java that you supplied yesterday run on Netscape also?

>>I have several ASPs that have forms that contain phone numbers in the 3 textbox format.
>>ie:
>>txtAreaCode txtExchange txtFourDigits
>>
>>My users have to tab out of each textbox to keyboard an entire phone number. Do you have any suggestions on how to have the focus set to the next textbox when a user completes the entry in the preceeding textbox?
>
>Here's something that might get you started... there may be a better way, I was just knocking around with this.
>
><SCRIPT LANGUAGE="JavaScript">
>
>function checklength(input,nlen,cgoto) {
>if (input.value.length == nlen) {
> eval('thisform.'+cgoto+'.focus()');
>}
>}
>
>function resetval(input) {
>input.value = '';
>input.focus();
>}
>
></SCRIPT>
><html>
>
><body>
>
><form name=thisform>
><input type = text size=3 name=three maxlength=3 onfocus=resetval(this); onkeydown=checklength(this,3,'four');>
><input type=text size=3 name=four>
></form>
></body>
></html>
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform