Why not put the text field in a seperate document but load it into your form
with an IFRAME (so it looks the same) and then you can use javascript to
manipulate/reload the IFRAME with either a long text box or three seperate
text boxes.. blah blah..
l8r,
xris.
----- Original Message -----
From: "ramy m" <ramymoneiry@y...>
To: "JavaScript HowTo" <javascript_howto@p...>
Sent: Friday, March 14, 2003 3:29 PM
Subject: [javascript_howto] changing the phone field
>
> hi all
>
> I want to change the phone field from 3 parts to one long text field if
> the user select any country other than USA or Canad . I want to know if I
> can change the shape of the text field if the user change the country .
> all this happen on the same page . please give some sample of code if
> possible
>
>
> thanks