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

binding two text fields

Avatar

Avatar
Level 1
MatthewAbbott
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
MatthewAbbott
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
MatthewAbbott
Level 1

26-03-2010

Im trying to play with some of the scripting in LiveCycle

Designer and I am needing to know how to bind text fields.

If a user types anything thing into Textfield A, then TextFieldB will be populated with whatever is in Textfield A

Textfield B is read only, but it should be populated with whatever is in textfield A.

I tried playing around with the change even of textfield A to populate textfield B but im not doing something right with the script.

Matthew

Replies

Avatar

Avatar
Boost 5
Level 4
djaknow
Level 4

Likes

45 likes

Total Posts

370 posts

Correct Reply

33 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 4
djaknow
Level 4

Likes

45 likes

Total Posts

370 posts

Correct Reply

33 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
djaknow
Level 4

26-03-2010

No problem, give both fields the same name and set the data binding to "Global" or "Use global data" depending on your version of designer under Object >> Binding.

Avatar

Avatar
Validate 1
Level 9
Srini_Dhulipall
Level 9

Likes

177 likes

Total Posts

1,397 posts

Correct Reply

255 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 9
Srini_Dhulipall
Level 9

Likes

177 likes

Total Posts

1,397 posts

Correct Reply

255 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Srini_Dhulipall
Level 9

26-03-2010

You can keep both the fields with the same name and change the Binding to Global.

this way you can have the same value in both the fields with out any scripting.

Thanks

Srini