hi.. i am working on a livecycle form that is basically a custom invoice form. i was using it and it was pretty good until i recently needed more line than where available on the sheet. i can easily create an additional page, but i was wondering if there is a more dynamic way of handling that so don't have to use two sheets unless i need them.
there are subtotal, shipping, taxes and total fields some of which are automatically calculated. so here is how i envision that could work, please correct me if im crazy or there is a much better way. user gets to end of form but needs more lines, pushes button that creates another page, subtotal, shipping, taxes and total get moved to the end of the table of the new page. is this possible? thank you for your help..
LC Designer comes with a number of templates and sample files. Check out this sample:
C:\Program Files\Adobe\Adobe LiveCycle Designer ES2\EN\Samples\Forms\Purchase Order\Dynamic Interactive\Forms\Purchase Order.pdf
it includes a button to add additional rows to the table (and a button in each row to delete that row).
To implement this you need to make sure you have a few settings right:
(1) the form must be saved as Dynamic (see the drop down in the Save As dialog).
(2) the page must be setup as a Flowed subform. You can have Positioned subforms inside this for the header and footer.
Check out the FormCalc script in the calculate event of the total, which will sum all of the rows.
Hope that helps,
Niall
Hope this helps,
Niall
Assure Dynamics