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

Another Newbie With Text Field / Combo Box Form Question

informanewbie
Registered: Dec 13 2009
Posts: 9

I have to convert a document into a form that will need do the following:

Have a page (pageUserInput) that contains a text field in which users will enter their name (inputText1)

Next to that a combo box that will designate which category the user will fall into (UserA, UserB, UserC or UserD)

I then have additional pages that correspond to the categories (pageUserA, pageUserB, pageUserC, pageUserD) which will have text fields (textUserA, textUserB, textUserC, textUserD) that need to autopopulate with the user's name that was entered into the input text field (inputText1).

Those text fields (textUserA, textUserB, textUserC, textUserD) will need to autopopulate duplicate text fields, which, if I name the same, I understand, will happen automatically.

If possible could someone share with me the script necessary to accomplish this or point me to an example of how to accomplish this? Am I on the right track to accomplish this? Can a combo box trigger the autopopulation of the fields in this manner?

Oh this is all being done in Acrobat 8 Pro (only version I have access to).
Thank you all in advance!

My Product Information:
Acrobat Pro 8.0, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Why not simply name all of the text fields that need to have the user's name the same? That way they will all have the same value, as you've noticed. Or is there something I'm missing here?

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

informanewbie
Registered: Dec 13 2009
Posts: 9
Unfortunately the answer to that question is stubborness with the government. This is a government form that is required to be used and I am trying to make it autopopulate other forms that are also required to be used. There simply is no room on the input form for numerous input text fields and I will be able to get the addition of a small combo box (that will be visible but not print) approved but don't have the option of re-designing the entire form (or our entire govenment will collapse if the form changes).

I take it that this is not a possiblility.
informanewbie
Registered: Dec 13 2009
Posts: 9
Perhaps I also did not answer this part of your question.
Splitting up the user name input into categories is a necessity because depending on which category they fall into will determine which form will need to be autopopulated.
informanewbie
Registered: Dec 13 2009
Posts: 9
Ok I appeared to have stumped the panel or do not qualify for suggestions. Would an easier way of accomplishing this (don't know if it is possible) be to stack 4 text field one on top of another (to save real estate on the form) make them invisible until the combo box was selected for the category?

If that would work I would be appreciative for help with that.
Thanks again!
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi informanewbie,

Not sure where you're coming from with the "don't qualify for suggestions" comment. You do realize this is a Voluntary forum AND it is a weekend for many, don't you? Sometimes it may take a couple days to get an answer, and many questions never get answered. Depends on who has free time on any particular day. If you require emergency assistance post to the job board. Paying for expert help should get you speedier results than a user to user forum, and in that case you can expect quick help.

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
try67
Expert
Registered: Oct 30 2008
Posts: 2398
I for one did not really understand what it is you're trying to achieve.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

informanewbie
Registered: Dec 13 2009
Posts: 9
I am sorry and did not mean to offend you. Thanks for your time.
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
You can use the calculation script options to get the data from the fist field that is filled in.

If you point us to the form we could provide a better answer. The largest U.S. government form distributor uses Acrobat or a product that makes Acrobat forms. Some other agencies use LiveCycle Designer and lock the form down to prevent editing the base form.

You can also look at some of the eSeminars on demand here to learn about simple form scripting.

George Kaiser