I am trying to solve an issue with the dynamic positioning of a subform not working when the form is rendered from a process.
We need to be able to generate the form using a LiveCycle service. When we attempt this using the generatePDFOutput service, the code correctly calculates and sets the required margin. However, setting the margin has no effect (the “totals” subform is not moved). I am unclear why this does work, i.e. why there is a different effect when rendering the form from the process.
I am unable to move the code to an earlier event. The latest event for which setting a margin actually works is formReady. However, at this point the code to determine the current Y position of the “Totals” subform does not work.
Any ideas would be appreciated.