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

How to create duplicate subforms

Avatar

Level 1

Hi,

I want to create identical labels in Live Cycle Designer. So I created subforms containing the same data. When I change some data I have to do it several times. Is there a way that I only have to adjust one label and the other labels change automatically (i.e. by refering to label 1)? I print on A4 (3 labels in each row).

I would be very glad if you could solve my problem.

Regards

3 Replies

Avatar

Level 7

Simply give the other objects the same rawValue when you exit the first label.

eg:

subform1.label1 exit event, javascript

subform2.label1.rawValue = subform1.label1.rawValue;

subform3.label1.rawValue = subform1.label1.rawValue;

Avatar

Level 1

Thanks! Maybe I did it wrong, because only the first label contents were displayed, also during print preview in SAP.

af1.png

Avatar

Level 4

"the XML wears out with use". LiveCycle runs down the XML and fills the data into matching fields with the correct binding. But LiveCycle never runs back upwards in the XML to start filling other objects with matching bindings.

You can use global binding by name (not recommendable as unsafe - you never know whether a field with the same name will be added in 4 years).

Or you script: You copy the data manually from one subform to the next.