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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

LiveCycle Error

Avatar

Level 4

Capture.PNG

I am getting this error when I open my form. All I'm trying to do is calculate the sum of a few fileds to a totals field. Any suggestions?

1 Accepted Solution

Avatar

Correct answer by
Level 10

It shoudl be Sum(Field1.rawvalue, Field2.rawValue etc....)

The easiest thing to do now is simply remove the word Sum as by adding all of thse fields you are doing a sum.

Paul

View solution in original post

3 Replies

Avatar

Level 10

The Sum function takes a series of fields - separated by commas - and adds them together. You have added + signs to separate your fields.

Paul

Avatar

Level 4

This is what I have in the totals field which is field 14:

Sum(NumericField6.rawValue

+ NumericField10.rawValue + NumericField11.rawValue + NumericField12.rawValue + NumericField13.rawValue + NumericField14.rawValue);

Show: Calculate

Language: FormCalc

Run at: Client

I've tried to troubleshoot but nothing is working for me.

Avatar

Correct answer by
Level 10

It shoudl be Sum(Field1.rawvalue, Field2.rawValue etc....)

The easiest thing to do now is simply remove the word Sum as by adding all of thse fields you are doing a sum.

Paul