Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Buttons do not respond on every page of a multi-page form

Avatar

Former Community Member

Hello and thank you for your assistance with this rather vexing problem.  I am creating a form with multiple pages in Adobe LiveCycle Designer 8.0 and on each of those pages are various buttons, and each button opens up a different subform (click event makes subform visible).  The problem I am encountering is when I "Preview PDF" the form, or open the form in Acrobat the buttons will only work on the page I click on first.  For example, if I click on a button on page one (untitled subform)(page1), all the buttons on page one work fine, but the buttons on pages 2, 3 and 4 will not work.  If I close the form and reopen it and start by clicking the buttons on page 3 (untitled subform)(page 3) all of the buttons on page 3 work fine, but pages 1, 2 and 4 will not work.  No matter what page I start with to test the buttons, only the buttons on that page will work.  I have tried using check boxes instead of buttons and the same thing happens.

I cannot upload the actual form I am working on because it contains proprietary information, however I have created a quick sample form that exhibits the same problem as an example.  If anyone could help it would be greatly appreciated.  Please let me know if my explanation does not make sense or if I can provide further information.  Thanks again for your help.  :-)

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

It is hard to explain but following change made trick.

SecondPageSample.presence = "hidden"
xfa.layout.relayout()

Good Luck,

View solution in original post

2 Replies

Avatar

Correct answer by
Former Community Member

It is hard to explain but following change made trick.

SecondPageSample.presence = "hidden"
xfa.layout.relayout()

Good Luck,

Avatar

Former Community Member

That worked beautifully, I just added the extra line of code to all the buttons on my form and it is now working perfectly.  Thank you so very much for your assistance!

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] ----