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
BedrockMission!

Learn more

View all

Sign in to view all badges

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?

jenniferb831765
Level 1
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
radzmar
Level 10
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