Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Subform Instances are Not Retained After Saving

Avatar

Level 1

Hello,

I'm working on revising a form built with LiveCycle, and discovered that additional subform instances of a certain section are not kept after saving and reopening the form.  The user is able to click Add to include more data.  When a user saves the form and opens it again, only the first subform is restored, the others are lost.  This Add/Remove setup of subforms is used several times in other areas of the form, but the issue is only occurring in one particular place.  I've read through several questions that looked similar to mine, but my form already matched the solutions.

Target version: Acrobat and Adobe Reader 9.1 or later

Scripting default language: JavaScript, run at: Client

Preserve scripting changes to form when saved: automatically

Here's how this area is set up:

S11_CCH_Sub_New (subform, binding: $.S11_CCH_Sub_new)

     S11_CCH_Info_New (subform, binding: $.S11_CCH_Info_New[*], repeat: Yes, min: 1)

          <subform fields>

     S11_CCH_Buttons_New (subform, binding: none)

          S11_Add_Source_New (button)

          S11_Remove_Source_New (button)

Compared to the other areas that use subform instances, this area is set up exactly the same way, so I don't know why this one doesn't work.

Thank you,

Greg

1 Accepted Solution

Avatar

Correct answer by
Level 2

Thank you for sharing it, my bet is that cause for your trouble is missing Data nodes in your scheme file.

See how your next piece of multi-instance subforms has specific node connection, while it's totally missing in S11 part:

data_binding_missing.png

I hope it will help to solve the issue.

View solution in original post

6 Replies

Avatar

Level 10

Hi there,

It happens sometimes that LCD saves or keep unwanted properties for certain objects... One of those solution may help you..

1. Change the name of the object (subform or row) that have multiple instances.

2. If the previous suggestion does not work, delete the object and recreate it.

Changing the name might be the good solution because sometimes it looks like Adobe is misinterpreting one or multiple objects to be another one in the form with same name. So it takes the properties of the other object in the form.

I hope this will help you.

Avatar

Level 1

Hello,

Thank you for the quick response.  Unfortunately, after changing the subform's name and it's fields' names, the problem is still occurring.

Avatar

Level 1

https://drive.google.com/file/d/1JVFlGD5yHQuxEU6Eeut_sYs-IW8J3zGw/view?usp=sharing

Edit: my bad, I forgot to mention that the area in question is "Criminal and Traffic History Checks" on page 7.

Avatar

Correct answer by
Level 2

Thank you for sharing it, my bet is that cause for your trouble is missing Data nodes in your scheme file.

See how your next piece of multi-instance subforms has specific node connection, while it's totally missing in S11 part:

data_binding_missing.png

I hope it will help to solve the issue.

Avatar

Level 1

Thank you so much!  Everything seems to be working now.