on 02-11-2009 9:03 AM
Hi all, I have what seems to be a very basic question but have not been able to find an answer in these forums or in other Adobe forums.
I have a conditional page break, based on when a certain field changes it's value. This is done as a server-side FormScript. The problem I have is that the page numbering should be reset to 1 after such a break. How can I achieve this?
I figured it out thanks any way
If anyone looking for a solution for the same issue
he solution is as follows
create 3 numeric fields in the header of the table
total
counter 1
counter 2
the total is to count the number of pages of each document
in initialization event
total = total + 1 ;
the counter 1 is to make the counter of the pages from 0 to total (invisible)
in calculate event
if ( counter 1 < total ) then
counter 1 = counter 1 + 1 .
elseif( counter 1 >= total ) then
counter 1 = 1
counter 2 to show the page number of the document
in layout ready
counter 2 = 1
in calculate event
counter 2 = counter 1 + 1
Note: this is the logic with little modification create the code
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
If you can't do it with page number, then try to use not page numbering function, but simple variable. And reset it after page-break.
Regards,
Petr Perstnev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do anyone have any solution or script for this problem?
help please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Did you find a solution for this problem?
I have the same problem, please tell me how did you solve it?\
regards.
Sami
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.