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

Avatar
Level 1
jenniferb831765
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
jenniferb831765
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
jenniferb831765
Level 1

25-11-2015

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

25-11-2015

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