I want to add number of pages in a pdf form depending upon the value in the text field...
Sir,
I am making a PDF form in Adobe acrobat Pro in which the requirement is to add any number of pages which use inputs in the text field.
Like if the user put 4 then 4 pages should be added , if they put 40 the 40 pages should be added.... i know to add the pages by the spawning method.....
i.e. var a = this.getTemplate("Template Name");
a.spawn();
but i am not able to figure out how to add as many pages as specified by the users......
Also second query....
I would like the first page to be number page 1 of 1, then when the user needs a second page it would numbered as Page 1 of 2 and Page 2 of 2 and so on...
Is it possible.
If yes, then plz help.
Thank you
