Form Question

  • Thread starter Thread starter Josh
  • Start date Start date
J

Josh

Is there a way for me to link the input boxes together so when someone
enters there 10 digit phone number they don't have to tab, it just
automatically goes to the box after they enter there are code?
 
Not directly in FP. Requires knowledge of JavaScript.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Sorry, no. But I am sure someone here will be able to assist you.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Hi,
Something along these lines

<input onkeyup="if(this.value.length==3)this.form['b'].focus();" type="text"
size="3" name="a">
<input onkeyup="if(this.value.length==3)this.form['c'].focus();" type="text"
size="3" name="b">
<input type="text" size="4" name="c">


Then you can get the full phone number by stringing together a b and c
 
Back
Top