Expand my Community achievements bar.

Populate Text Box

Avatar

Former Community Member
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.
2 Replies

Avatar

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

Avatar

Former Community Member
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.