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

Get Pagenumber via FormCalc ( xfa.layout.page($) not working)

Avatar

Avatar
Validate 1
Level 1
JoschkaRick
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
JoschkaRick
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
JoschkaRick
Level 1

07-06-2018

Hello everyone,

I'm trying to print the current page number on my master page using FormCalc.

The following command:

$.rawValue = xfa.layout.page($)

throws the error "Error - Different arguments in property or functional argument".

I only see the exception in English, so it's translated freely.

The layout documentation states that the call is correct:

Adobe LiveCycle ES4 * page

The form is a new, clean one, I'm using ES4.

Any ideas why it's not working?

Accepted Solutions (1)

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

07-06-2018

Build an object reference to the target object using the Ref() method:

$ = xfa.layout.page(Ref($))

Answers (2)

Answers (2)

Avatar

Avatar
Level 1
whiteez31947737
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
whiteez31947737
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
whiteez31947737
Level 1

27-05-2019

how to make it in the content page.

I added the code in the content page but it displayed as page -1 instead of page 1.

no idea how the sign came up

Avatar

Avatar
Validate 1
Level 1
JoschkaRick
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
JoschkaRick
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
JoschkaRick
Level 1

07-06-2018

Thanks! It's working for Fields on the master page, which is enough :-).