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

Transfer data from text field to text box

Avatar

Avatar
Level 1
ElizabethR48466
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
ElizabethR48466
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
ElizabethR48466
Level 1

07-08-2018

I'm creating a form in LiveCycle Designer and I'm wondering if it is possible to collect information in a text field and use it later in the same form in a text box. I want to enter a name into a text field and then have that name show up as part of a text box later in the form.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

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

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

07-08-2018

Hi, it is easy enough to do with a global variable.

I wrote some information about creating and using them here - How to compare global variable value to TextField value

Have a look at it to understand the code below. It is much like setting a rawValue from another field, but instead you are taking it from a variable that can be used anywhere in the form.

To recall the global variable to a textfield:

//give the textfield the value of the global variable.

TextField1.rawValue = global.myVariable;

I wrote this PDF for my own reference, here is a screenshot.

In this example, i can set a new global variable in the first textbox and then recall it in the other when the button is clicked. Same thing applies if you did it from a click, field exit code...whatever.

1544153_pastedImage_1.png

Answers (0)