Auto Populate 1 Form from Another

Avatar

Avatar
Applaud 5
Level 1
nakoval
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Applaud 5
View profile

Avatar
Applaud 5
Level 1
nakoval
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Applaud 5
View profile
nakoval
Level 1

15-08-2016

I have 2 forms developed in LiveCycle Designer. They have a few common fields. I need fields in 1 form be populated with data (values) from another. I believe this needs to deal with JS and global objects.

For instance, this script works in AcroForms.

//in one form

global.name = this.getField("Name").value;

//the following line in another form

if (global.name) this.getField("Name").value = global.name;

Is it possible to create anything similar for LiveCycle form?

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

23-08-2016

Have a look on this solution:

Shared Data in Packages Part 2

Avatar

Avatar
Applaud 5
Level 1
nakoval
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Applaud 5
View profile

Avatar
Applaud 5
Level 1
nakoval
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Applaud 5
View profile
nakoval
Level 1

22-08-2016

Thank you for an advice. However, I'm looking for a solution to be used by a regular user not me as a developer. So when an applicant hover over or enters a field, it triggers JavaScript to auto populate this field with data from another form.

Avatar

Avatar
Validate 10
Level 4
jnicholas330
Level 4

Likes

21 likes

Total Posts

325 posts

Correct reply

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

Avatar
Validate 10
Level 4
jnicholas330
Level 4

Likes

21 likes

Total Posts

325 posts

Correct reply

31 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
jnicholas330
Level 4

17-08-2016

I am not familiar enough with AcroForms to give you a similar approach, but LiveCycle is XML based. You can easily export XML from one form to feed another. This can be done seamlessly if the forms fields have the same name, otherwise you will need to add a mapping layer (XSLT).