Expand my Community achievements bar.

SOLVED

Help! Extending PDF adds duplicate pages

Avatar

Level 1

I am creating a dynamic XML form.

There are 2 sections in the form where the user may need to add additional pages, which I have added buttons for using instanceManager. Everything works just swell, until I open it in Acrobat to extend the features so that users can save data in the form. After I save it in Acrobat and open it back up again in Acrobat or Acrobat Reader, it has taken the liberty to insert additional pages to one of the sections.

I have checked to make sure that the Min Count is set to 1 and there is no Initial Count set. I did try setting Initial Count to 1, but it did not solve the issue.

The extra pages can be removed using a "Remove Page" button I added to the form, but once the form is saved and re-opened, all the extra pages are still there.

When I set the Max to 1 (in Object -> Binding), it does keep the extra pages from being automatically added, but then of course the user is unable to add extra pages.

Help!

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Make sure that your pages have unique names and try it again.

Paul

View solution in original post

2 Replies

Avatar

Correct answer by
Former Community Member

Make sure that your pages have unique names and try it again.

Paul

Avatar

Level 1

That did the trick. Thanks so much!

Hannah

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----