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

Adding a simple sum field

Avatar

Avatar
Level 1
crashmatrix
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
crashmatrix
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
crashmatrix
Level 1

20-10-2017

Hello, I hope someone can help. I am new to LiveCycle and are looking for a step by step guide to adding a sum total field.

I have found some guides but the confusing part is where or what thing I select to add the formula script to?

Do you click the Total field in my case? (see picture)

Any info or links you can give would be great!

Thanks

LiveCycle_screenshot.PNG

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,078 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,078 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile
Magus069
MVP

20-10-2017

Hi there,

it is simple, with the calculate event of total field you can add all the values you want and sum it up in the total field.

By using FormCalc script language, you can just specify the name of the field which will use the value of the field.

Using JavaScript you need to use the rawValue property of the field to access the value of the field.

You can also use the functionality of LiveCycle Designer to specify the reference_syntax of a specific field in the form by using (Ctrl + Left Click).

Simply put the text cursor where you want it to be in the script and use (Ctrl + Left Click) on the field in the design to insert automatically the reference_syntax of the specified field in the script.

Hope this help!