Highlighted

binding two text fields

MatthewAbbott

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

Highlighted

djaknow

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.

Highlighted

Srini_Dhulipall

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