Form Field Phone Number

T

Thomas A. Rowe

You can create 3 fields, AreaCode, Exchange, Number and make them required.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
J

jjprescott

Thanks Thomas. More help: When I set up the first field (area code) I set
the form field properties "width in characters" to 3 then set validate to min
3 / max 3. Is there any way to have the curser 'jump' to the next box after
the required 3 numbers?
 
J

jjprescott

Sorry Rob, I don't think I was clear. The form fields 'tab' OK in order
without setting the order (leave them blank) I was wondering if I can force
the curser to jump to the next field after entering the specified number of
digits. Example: after entering "941" in the area code box the curser would
jump to the prefix box. Is there a way to do that?
 
T

Thomas A. Rowe

I have seen that on varies site, but I have never looked into how it was being done. I would assume
that custom JavaScript is being used to move the cursor to the next field after maximum number of
characters have been entered in the prior field.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
J

Jon Spivey

Hi,
make the texbox like this
Area Code<input type="text" name="code"
onchange="if(this.value.length==3)this.form.NameOfNextField.focus();">
 
Top