I have a requisition form that consists of three major sections - a header, a details table, and a footer.
The details table must be able to expand to fit, which means the form must be able to flow onto a second page. All the fields in the header must repeat on the second page. The footer should only appear at the bottom of the details table, once, not repeated on every page.
After much tinkering with flowed and positioned subforms, I've got this working with the details table inside a flowed subform, with a positioned subform within the header and footer rows of the table. I suspect this is not the 'correct' way, but it's the only way I've been able to get working.
So my header happily repeats on the second page, but the values typed into the fields in the first page header do not show up on the second page. The user must be able to edit the header on any page and have all the pages headers update.
Can anyone please point me to a tutorial or give me an idea of what code would achieve this? I don't know how to reference the repeated field to set its value.
If what I'm doing is madness and there's a better way, that would be good to know too. I'm using es2