Highlighted

Populate Text Box

Avatar

11-12-2008

Can any one help me to populate a text box with the entered data of 2 other text boxes. Somthing like this.



TextBox3 = Textbox1 & " " & Textbox2



The desired afect is:

enter a first name in Textbox1

Enter last name in TextBox2

then autopopulate TextBox3 with the Full name.

Replies

Highlighted

Avatar

Avatar

Thomas_McConnac

Avatar

Thomas_McConnac

Thomas_McConnac

12-12-2008

Use the "+" symbol instead of "&" so it should be Textbox1 + " " + Textbox2
Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

12-12-2008

Also you will need to reference the rawValue if you want what was entered in the box. So th eexpression woudl look like this (assuming javascript)



TextBox3.rawValue = TextBox1.rawValue + " " + TextBox2.rawvalue.



I assume you wanted a space inbetween the two names.