PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage form advance

Reply

form advance

 
Thread Tools Rate Thread
Old 19-11-2007, 02:06 PM   #1
=?Utf-8?B?RnJhbmNpbmU=?=
Guest
 
Posts: n/a
Default form advance


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
Old 19-11-2007, 02:09 PM   #2
=?Utf-8?B?RnJhbmNpbmU=?=
Guest
 
Posts: n/a
Default RE: form advance

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
Old 19-11-2007, 03:31 PM   #3
Paul M
Guest
 
Posts: n/a
Default Re: form advance

Hi Francine
Is this what you are looking for?
http://www.mattkruse.com/javascript/autotab/

Paul M


"Francine" <Francine@discussions.microsoft.com> wrote in message
news:72607216-E746-48A7-AC4A-FBB8C949B9AE@microsoft.com...
>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
Old 19-11-2007, 03:38 PM   #4
=?Utf-8?B?RnJhbmNpbmU=?=
Guest
 
Posts: n/a
Default Re: form advance

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" <Francine@discussions.microsoft.com> wrote in message
> news:72607216-E746-48A7-AC4A-FBB8C949B9AE@microsoft.com...
> >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
Old 19-11-2007, 04:12 PM   #5
Paul M
Guest
 
Posts: n/a
Default Re: form advance

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" <Francine@discussions.microsoft.com> wrote in message
news:A5818D70-16D2-4ECA-AD6A-D045BA2D327C@microsoft.com...
> 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" <Francine@discussions.microsoft.com> wrote in message
>> news:72607216-E746-48A7-AC4A-FBB8C949B9AE@microsoft.com...
>> >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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off