PC Review


Reply
Thread Tools Rate Thread

form advance

 
 
=?Utf-8?B?RnJhbmNpbmU=?=
Guest
Posts: n/a
 
      19th Nov 2007
I would like to create a form that has a space for a phone number. I want to
use three boxes (area code, prefix and number) my question is….

How can I get the curser to automatically move to the next box when entering
the numbers? I would like this to be done without hitting the tab button.

I have been on many sites that it works like this

Any ideas?

Thank you in advance

 
Reply With Quote
 
 
 
 
=?Utf-8?B?RnJhbmNpbmU=?=
Guest
Posts: n/a
 
      19th Nov 2007
Sorry, I am using FP2003

"Francine" wrote:

> I would like to create a form that has a space for a phone number. I want to
> use three boxes (area code, prefix and number) my question is….
>
> How can I get the curser to automatically move to the next box when entering
> the numbers? I would like this to be done without hitting the tab button.
>
> I have been on many sites that it works like this
>
> Any ideas?
>
> Thank you in advance
>

 
Reply With Quote
 
 
 
 
Paul M
Guest
Posts: n/a
 
      19th Nov 2007
Hi Francine
Is this what you are looking for?
http://www.mattkruse.com/javascript/autotab/

Paul M


"Francine" <(E-Mail Removed)> wrote in message
news:72607216-E746-48A7-AC4A-(E-Mail Removed)...
>I would like to create a form that has a space for a phone number. I want
>to
> use three boxes (area code, prefix and number) my question is..
>
> How can I get the curser to automatically move to the next box when
> entering
> the numbers? I would like this to be done without hitting the tab button.
>
> I have been on many sites that it works like this
>
> Any ideas?
>
> Thank you in advance
>



 
Reply With Quote
 
=?Utf-8?B?RnJhbmNpbmU=?=
Guest
Posts: n/a
 
      19th Nov 2007
Exactly, but how do I incorporate this into my FP2003 forms?

Michael



"Paul M" wrote:

> Hi Francine
> Is this what you are looking for?
> http://www.mattkruse.com/javascript/autotab/
>
> Paul M
>
>
> "Francine" <(E-Mail Removed)> wrote in message
> news:72607216-E746-48A7-AC4A-(E-Mail Removed)...
> >I would like to create a form that has a space for a phone number. I want
> >to
> > use three boxes (area code, prefix and number) my question is..
> >
> > How can I get the curser to automatically move to the next box when
> > entering
> > the numbers? I would like this to be done without hitting the tab button.
> >
> > I have been on many sites that it works like this
> >
> > Any ideas?
> >
> > Thank you in advance
> >

>
>
>

 
Reply With Quote
 
Paul M
Guest
Posts: n/a
 
      19th Nov 2007
Hi
You copy and paste the code into an empty page (remove all html) and save
the page as a javascript page say tab.js then add this into the head
of your form page

<SCRIPT LANGUAGE="JavaScript" SRC="tab.js"></SCRIPT>

It doesn't give you the example form code but here is the code for the form
You can add this to your own form just don't use the form tags if you do.
Remember to save the page before previewing or the javascipt won't work

Paul M

<FORM>
Enter a phone number. The field will auto-tab when you enter 3 characters.
<table>
<tr>
<td>Phone No.:</td>
<td>
<input type=text name="Phone_1" size=3 maxlength=3
nKeyDown="TabNext(this,'down',3)"
onKeyUp="TabNext(this,'up',3,this.form.Phone_2)">
-
<input type=text name="Phone_2" size=3 maxlength=3
onKeyDown="TabNext(this,'down',3)"
onKeyUp="TabNext(this,'up',3,this.form.Phone_3)">
-
<input type=text name="Phone_3" size=4 maxlength=4>
</td>
</tr>
</table>
</FORM>


"Francine" <(E-Mail Removed)> wrote in message
news:A5818D70-16D2-4ECA-AD6A-(E-Mail Removed)...
> Exactly, but how do I incorporate this into my FP2003 forms?
>
> Michael
>
>
>
> "Paul M" wrote:
>
>> Hi Francine
>> Is this what you are looking for?
>> http://www.mattkruse.com/javascript/autotab/
>>
>> Paul M
>>
>>
>> "Francine" <(E-Mail Removed)> wrote in message
>> news:72607216-E746-48A7-AC4A-(E-Mail Removed)...
>> >I would like to create a form that has a space for a phone number. I
>> >want
>> >to
>> > use three boxes (area code, prefix and number) my question is..
>> >
>> > How can I get the curser to automatically move to the next box when
>> > entering
>> > the numbers? I would like this to be done without hitting the tab
>> > button.
>> >
>> > I have been on many sites that it works like this
>> >
>> > Any ideas?
>> >
>> > Thank you in advance
>> >

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a template form, advance a form number everytime you open ShoDan Microsoft Excel Misc 1 31st Jan 2008 02:34 PM
Slide won't advance as I have it set in "Automatically advance". =?Utf-8?B?TWFyZ2FyZXRB?= Microsoft Powerpoint 16 22nd Nov 2007 08:43 PM
Advance or Not Advance..that is the question. =?Utf-8?B?V0NEb2Fu?= Microsoft Access 2 4th Nov 2005 10:58 PM
Double-Click needed to advance in timings and advance slides in sh =?Utf-8?B?ZWxraXdpZ3JhbmRl?= Microsoft Powerpoint 2 27th Sep 2005 02:19 PM
Game Boy Advance - Movie Advance Raje Gaming 0 12th Jun 2005 06:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:23 PM.