Expand my Community achievements bar.

SOLVED

Expanding text boxes to multiple pages

Avatar

Level 2

I have a dynamic form with expanding text boxes that I originally designed on one page.  As I put in the needed items it was clear to have it fit I would need to go to a second page to have everything needed.  When it is the first page alone the preview pdf works properly automaticallly moving the overflow to the next page.  When the second page is inserted to finsih the form the areas not fitting on the first page when typed into the preview fall off into space and you can no longer see them.  I've treid moving around the heirarchy and have not figured it out.  Does anyone know hoi to fix this?  Is it possible to have a 2 page dynamic form that expands?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Sorry I have been on vacation and in Europe for a week so I was not able to get to this before I left.

The root subform (Page level) must be set to flowed if you want it to act the way you want. When doing that you can ignore the need to add the 2nd page and allow the product to break the page where it is needed. I modified your form so it would do this. Note that there is no Page 2 and I added some additional subforms to break up different parts of the form (Headers and unnamed subforms). It is good practice to name your subforms and if you do any code that was added may need to be adjusted to take into account these additional structural changes.

Please find attached the modifed sample.

Paul

View solution in original post

4 Replies

Avatar

Former Community Member

Can you post the real form so we can have a  look?

Paul

Avatar

Level 2

Here's the form, thank you for your help Paul, you always help us find the answers we need..

Avatar

Correct answer by
Former Community Member

Sorry I have been on vacation and in Europe for a week so I was not able to get to this before I left.

The root subform (Page level) must be set to flowed if you want it to act the way you want. When doing that you can ignore the need to add the 2nd page and allow the product to break the page where it is needed. I modified your form so it would do this. Note that there is no Page 2 and I added some additional subforms to break up different parts of the form (Headers and unnamed subforms). It is good practice to name your subforms and if you do any code that was added may need to be adjusted to take into account these additional structural changes.

Please find attached the modifed sample.

Paul

Avatar

Level 2

Thanks Paul, I always know I'll get the answer I need when you pick up the discussion thread!  I hope you had a great time in Europe, a well deserved rest from all of us with endless questions.

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