I'm trying to toggle the pagesize (height) for my 3-page dynamic form and get rid of page breaks while the user fills the form (Same feel as a web page). For printing I would toggle back to A4 pagesize (297mm).
This discussion has really intrigued me. I had not thought of doing this. Is this last bit of code part of the original code above or is it by itself in a click event for a button? I have a form that is suppose to grow as more text is entered in a field and this idea of making it work like a web page when filling out the form but then breaking it up to fit on printed pages might just work very nice. Since I'm still fairly new to scripting in Designer it's going to take a bit of work in figuring out how you are getting this to work and how I can get it to work with my stuff.