Add an Instance automatically at the top of Next Page

Avatar

Avatar
Level 1
carlj28427183
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
carlj28427183
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
carlj28427183
Level 1

09-05-2016

Hello,

I am working on a dynamic fillable PDF form.

I want the user to add as many instances so to have the name (and other information) from all his directors.

I need the new instance to automatically go to the top of the Next Page.

How should I go about that?

Thank you in advance to any help/advice anyone can give

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Validate 10
Level 3
SI_MSD7
Level 3

Likes

17 likes

Total Posts

220 posts

Correct reply

10 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
SI_MSD7
Level 3

Likes

17 likes

Total Posts

220 posts

Correct reply

10 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
SI_MSD7
Level 3

10-05-2016

I saw this and was curious to try your solution for future use.

I added a standard "Add" button with script:

Table._Row.addInstance(1);

- After the button is initially clicked, it adds a new row to the table.

- When clicked again, it adds an additional row (Row) to the table as well as a new Header row, the table appears on the 2nd page, and the first page is blank.

- When clicked a 3rd time, it adds an additional row to table (table is now on page 3), the first page is blank, and the second page has nothing but a header row.

Is this the correct/intended behavior?

table_screenshot.png

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

09-05-2016

Hi,

this can be done with a contitional break.

Assuming you have table named "Table" with a header row named "Header" and a repeatable row named "Row".

Select the Row and add the following contitional break under the Pagination palette.

Language: FormCalc

If:

Row[-1].index ne $.index

Break: before

At: Top of next page

Leader: Header

Trailer: (none)

931121_pastedImage_0.png