Spawning a blank template page into form
Hi Everyone,
I am trying to create a form that has a page in that will, on occasion, require more than of that particular form page. It is currently a 3 page document, the middle page is filled out accroding to whats been carried out and sometimes will require another exact page. I have created a button and managed to successfuly use Java to mean when the button is pressed a new copy of the page is spawned from a template. However, I am struggling to get it to spawn as a blank form and not just as a copy of the previous page.
This is the scipt I am using:
var t = this.getTemplate("Addpage");
t.spawn(event.target.page + 1, true, false);
this.resetForm(cPrefix);
Any ideas?
TIA
