I have a form where I would like to have a subform hidden while the user is entering data, and then reveal during printing. This I can do (just toggle the presence during the pre/post print scripting areas).
When the document is printed, I also want to control the pagination of the subform to force it to the top of the next page - but only when printing. If I do this using the palette Object...Pagination...Place (Top of next page), it works, but it creates a large gap when the user is filling out the form on the screen. I want to control this property with scripting during the "prePrint" stage of processing the form (and then toggle it back "postPrint").
I can't find the right code to do this - anybody know the right code?
Thanks!