Expand my Community achievements bar.

SOLVED

Is it possible to have a subform on a second page to "slide up" if there is room on the 1st page?

Avatar

Level 2

Hi there,

I have a form that depending on which option you choose at the top of the form, it will display one set of fields in a subform and hide the other set of fields in a subform. Ergo leaving room for more fields to fit on the first page.

Is there something that I can do to make the first subform on the second page slide up if there is enough room for it?

Thank you for any assistance.

Kim

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

If you go to the hierarchy and grab the page2 subforms and drag then over page1 in the hierarchy view and release. Designer will move the subforms to page1 and place them at the bottom. Once page2 is empty, delete it.

Check that the page1 pagination settings are set to "continue to filling parent. Also check that page1 is allowing page breaks in content.

The next big change is that page1 will need to be set to a Flowed layout (Object > Subform palette). This is going to move objects around according to their position in the hierarchy and over to the left of the page. 

In design view and preview you should still have two pages. You may need to work with subform dimensions and margins to get it looking the way you want.

Lastly, in your script when changing presence use "hidden"; which will not only hide the subform from the user, but also free up the space for lower subforms to move up.

Niall

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

If you go to the hierarchy and grab the page2 subforms and drag then over page1 in the hierarchy view and release. Designer will move the subforms to page1 and place them at the bottom. Once page2 is empty, delete it.

Check that the page1 pagination settings are set to "continue to filling parent. Also check that page1 is allowing page breaks in content.

The next big change is that page1 will need to be set to a Flowed layout (Object > Subform palette). This is going to move objects around according to their position in the hierarchy and over to the left of the page. 

In design view and preview you should still have two pages. You may need to work with subform dimensions and margins to get it looking the way you want.

Lastly, in your script when changing presence use "hidden"; which will not only hide the subform from the user, but also free up the space for lower subforms to move up.

Niall