Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Is there a way to add two decimal merge fields from an XML schema to create one visible field with the total on my form?

Avatar

Level 1

I am using LiveCycle to create a form using merge fields from an XML schema that is from our primary operating system and I need to find a way to add two separate number fields together from the XML schema to get a total of the two to show on my form. Is this even possible?

1 Reply

Avatar

Level 10

You can use a XSLT stylesheet within you data connection setting to modify you imported XML data in the way you need.

Here's a sample to demonstrate the sum() method in XSLT 1.0.

https://msdn.microsoft.com/en-US/en_us/library/ms256160(v=vs.120).aspx