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

Issue with FormCalc script

Avatar

Avatar
Validate 1
Level 1
debra_pearlman
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
debra_pearlman
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
debra_pearlman
Level 1

06-12-2019

I am having an issue with my FormCalc script on LiveCycle Designer forms.  Here is what I get

LiveCycle_Calc_Error.PNG

My form has 11 Rows (top row[0] is text only) and 9 columns with columns 4 (parking),7 (miles),8 (rate) being the values I'm trying to total.

Here is the formula I've been using:

form1.Page1.table.Row1.total::calculate - (FormCalc, client)

$.rawValue = parking+(miles*rate)

This was working just fine and stopped working one day.  Any help and suggestion would really be appreciated.

Accepted Solutions (1)

Accepted Solutions (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

06-12-2019

Hi there,

By the look of it it seems like you are somehow calling calculate... I am not sure if it needs more investigation with the Hierarchy, but it looks like you have an extra line of code which would be the event itself

Look within the event and make sure that you do not have a line event duplicate like the following:

I hope this will help, otherwise please provide with an image with the full content of the event, plus and image of the hierarchy.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
debra_pearlman
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
debra_pearlman
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
debra_pearlman
Level 1

06-12-2019

Thanks Magus069.  that was exactly the problem.  I could not see the duplicate code, but once I cleared extra fields, things worked great.

Did not see how to mark correct so putting this up.  Feel free to mark correct.