Livecycle3 PDF document

Avatar

Avatar
Validate 1
Level 1
deanr91271723
Level 1

Likes

0 likes

Total Posts

31 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
deanr91271723
Level 1

Likes

0 likes

Total Posts

31 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
deanr91271723
Level 1

05-10-2016

I am using add page button to generate additional pages.

The Qty calculation field works good when only one page but the Qty calculation field doesn't work after adding a page.

Can you tell me how to make the Qty field so it will calculated regardless of how many pages are added?

F.Y.I. Qty field is repeated on each page.

Example shown below.

Unit Total * Qty = Grand Total.

1038179_pastedImage_0.png

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

07-10-2016

Hi,

Is the E1000-CADGrantTotal on the same page as the CustormerInfo.Qty and E1000-CADUnitTotal fields?  Or is E1000-CADGrantTotal a grand total of all the pages?

There is a shortcut for inserting references to a field in the script editor.  With focus in the script editor at the point you want the reference, hold down the CTRL key and click on an object on the design view, and the object’s relative SOM expression will be inserted into your script.

Might be easier to post a link to your form if you can.

Regards

Bruce

Avatar

Avatar
Validate 1
Level 1
deanr91271723
Level 1

Likes

0 likes

Total Posts

31 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
deanr91271723
Level 1

Likes

0 likes

Total Posts

31 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
deanr91271723
Level 1

06-10-2016

I believe it has to do with the form1 designation but don't know how to automate when you add a second page.

xfa.resolveNode("form1.Data.E1000Subform.E1000-CADGrandTotal") = CustomerInfo.Qty *xfa.resolveNode("E1000-CADUnitTotal")

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

05-10-2016

Hi,

Can you post the code used by the calculation or even post a link to a version of your form that you have uploaded somewhere (like Google Docs, or whatever).

Check that none of the field references reference the name of the page as if I understand you form properly it will pick up values from the first page.

Regards

Bruce