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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

binding two text fields

MatthewAbbott
Level 2
Level 2

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

2 Replies
djaknow
Level 7
Level 7

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.

Srini_Dhulipall
Level 10
Level 10

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