Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Thomas_McConnac
Level 4

12-12-2008

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

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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.