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

AUTO POPULATE FORM FIELDS WITH CHECK BOX

mraheelgujjar
Registered: May 23 2009
Posts: 17
Answered

Hi, i am in desperate need of help. I am creating a form with multiple fields. Some of these fields MAY have identical information like name, state, city etc. What i want is that if i check a "check box", these field get auto populated by data already present in other fields. If i leave the "checkbox" unchecked, then the user can fill in the fields. How can this be done with Acrobat pro form designing.
Thanx. Waiting for ur reples.

My Product Information:
Acrobat Pro 9.0, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi mraheelgujjar,

What you want to do is possible and has been discussed here before. A search on "auto populate fields" in the Forum Search yielded this-
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=21494

among other threads on this same type request.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
mraheelgujjar
Registered: May 23 2009
Posts: 17
hi, when i pasted the code given, the behavoir is strange. When the checkbox is checked, nothing happens. But when mouse is moved ove it, then data appears. Help please.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Sounds like you put the code in the wrong event. For a check box you'll want to put the code in the MouseUp event.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

dgamble
Registered: Nov 17 2010
Posts: 1
Help! I am running into the same issue, however, I searched the Forums and was not able to find anything. Is there a live post on how to do this?