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

Auto Populate 1 Form from Another

nakoval
Level 1
Level 1

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?

3 Replies
jnicholas330
Level 7
Level 7

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).

nakoval
Level 1
Level 1

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.