These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Is this possible?

Eikou
Registered: Feb 5 2009
Posts: 30

I created a fully working form in acrobat pro 9

I have formfields for example - User1 that contains fields of name, street, city, postal code, phone email etc.
so do User2 with fieldsname name2, street2 etc.

The pdf form is 1 page.

Is it possible now to add a + button, to add new Users into this form with the fields.
Example i push the + button, User3 appears with the fields name3, street3, city3, postal code3, phone3 emai3l etc.
and pusing again it get User4 etc.
then pdf is 2 pages long now...

Can anyone teach me the script, a proper way to do this?

--

I know a subway around this to create all this fields and then hide it , a reveal it when the button is pushed. BUT then the the pages 2 - 3 etc would be blanc and is not really goodlooking. Unless there is a code to hide blanc pages? But then its not really dynamically or handy if i want 100 users for example...

any solution much appreciated

tnx

My Product Information:
Acrobat Pro 9.2, Macintosh
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
Not in the way you describe.

With templates in Acrobat, not Reader, you can add pages and rename the fields, by page number, when 'spawning' the new page. But this feature is not available to Reader.

George Kaiser

radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hello,

this is only a tip from me but maybe of interest for you.
There is an example form called "EmbeddingFormData.pdf" in the Acrobat 7.0.5 SDK.
It allows you to save form data within a PDF into bookmarks.
A very nice solution (incl. a search function) , that you can use for a personal address book for example.
Attention: This will be working only in Acrobat not in Reader.

Here's an detailed explaination (see page 19)
[url]http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/intro_to_sdk/SamplesGuide.pdf[/url]

Here a link to the SDK for Mac OS
[url]http://download.macromedia.com/pub/developer/acrobat/sdk/7/mac/SDK705Installer.dmg[/url]

You will have to install the SDK.
Then you can find the sample file in the install destination:
...\Adobe Acrobat 7.0.5 SDK\JavaScriptSupport\Samples\InsidePDF\EmbeddingFormData

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

Eikou
Registered: Feb 5 2009
Posts: 30
Thanks for the info :)

Will tell the client thats kinda impossible since it is gonna be in Reader only