Multiple drop down menu items to populate the same separate text box. How can I do it?

In Acrobat Pro X, I've figured out how to create a drop down menu with items that will populate a separate text box, but how can I get multiple menu items to populate the same text box. For example. My drop down menu has three items  cat, dog, mouse. I choose cat and it appears in my separate text box (hooray). Next, I choose 'dog' from the same menu. I would like it to appear in the same text box along with my previous selection 'cat.' Is this possible? I'm very new to Java Script, any assistance would be greatly appreciated! Thank you

She is the script I'm using
(function () {
    // Do nothing if not committed
    if (event.willCommit) return;
    // Set up an array to hold the individual paragraphs of text
    var aQuotes = [3];
    // Populate the array with the paragraph text
    aQuotes[0] = "cat"
    aQuotes[1] = "dog"
    aQuotes[2] = "mouse"
    // Get the selected item, which is the export value of the selected combo box item
    var item = event.changeEx
    // Display the text corresponding to the selected item in the text field
    getField("Text field 1").value = aQuotes[item];

Similar Messages

  • Multiple drop down menu items to populate the a separate text box...more help please

    Thanks to Gilad D67 for showing me how to have multiple drop down menu items appear in a separate text box. This stuff blows my mind. Is there any script I can use to make a new drop down menu item appear in the same text box, but on a new line below a previous entry. For example. I select 'cat' from my drop down menu and it appears in my text box. Now I choose 'dog' from my menu and it appears in my text box like so  'cat dog.' Is there any way I can make 'dog' go straight to a new line automatically without having to manually go into the text box and change it?
    cat
    dog (new selection goes straight to a new line)
    Now, I don't have a clue if this is also possible, but imagine, I don't like my drop down menu selection of 'dog' and I go back into the menu and I change to 'rat' but in the text box, 'dog' still appears and 'rat' is added. Do I have to manually delete 'dog' from the text box or is there script that can do this for me.
    Any assistance would be incredible. It amazes me how people know this stuff.
    This is the script I have so far
    (function () {
        // Do nothing if not committed
        if (event.willCommit) return;
        // Set up an array to hold the individual paragraphs of text
        var aQuotes = [3];
        // Populate the array with the paragraph text
        aQuotes[0] = "Use common singular nouns, plural nouns [plural ‘s’] and proper names to say what things are"
        aQuotes[1] = "Use numbers 1–10 to count"
        aQuotes[2] = "Use basic adjectives and colours to say what someone/something is or has"
        // Get the selected item, which is the export value of the selected combo box item
        var item = event.changeEx
        // Display the text corresponding to the selected item in the text field
        getField("Text30").value += " " + aQuotes[item];

    You have to set the option for the text field to be multiline and then change the last line of the script to:
    getField("Text30").value += "\r" + aQuotes[item];
    To reset the field you can use a separate button with a Clear Form command, and then you just select this one field from the list.

  • TS1436 there is no preferences drop down menu in my itunes i downloaded latest verstion.  How can i burn my cd?

    how do i burn a cd from songs i paid a lot of money to download lots of songs from i tunes store.  Now i cant figure out how to burn them...tried other burner software...but it turned out not to be compatible with apple.  i paid a lot of money to download songs and now I don't know how to burn them to a cd.  Help????
    thanks,
    mary grassi

    Activate the Guest account for your friends and keep your account for yourself.

  • My Bookmarks category on the toolbar has a Trojan Horse logo on four of the drop down menu items.

    I have a Mac G5 desktop with OX 10.5.8. My Safari browser was hacked by TH malware, and so I deleted it because it is too old to update to Mavericks.
    I am now using Firefox. I see now that the trojan is embedded in my Bookmarks bar, on the drop down menu items. I'm am having trouble resetting Firefox, nor can I get the Malwarebytes that I downloaded to open and run. I have cleared the history, cookies, cache on my computer. I have also deleted Java, MSN, and the old email Mail and its settings from the hard drive.
    I'm a low-tech techie. Thank you for your ideas,
    svidor

    Are you able to give screenshots or other information so we know more about your problem.
    *[[How to make screenshots]]
    *[[How do I create a screenshot of my problem?]]
    I have no idea what the trojan is / was but there have been quite a few reports of pseudo ransomware. This demands money and makes it appear that Firefox is locked up. If you are lucky and have that sort of problem it is easy to get out of.
    * see for example this thread [/questions/981475]
    If you have book marked sites with malware Firefox provdes you an option to forget about sites that may resolve the issue.
    * see [[Remove websites from the Awesome Bar suggestions#w_clearing-all-items-for-a-single-site]]'''_clearing-all-items-for-a-single-site'''

  • Acrobat Forms - Make fillable text box appear after box checked or drop down menu item selected

    I have been asked to build an approvals form for my workplace however the approval processes vary considerably depending on the subject. I have been asked to create a list of topics in the form of check boxes or a drop down menu which will then populate a list of text boxes with differing approval authorities and corresponding spaces for signatures.  i.e. if 'Topic 1' is selected a list of names and signature spaces will appear, however if 'Topic 2' is selected a different list of names and signature spaces will appear instead.
    In order to achieve this I think I only need to find out how to link check boxes or drop down menu items to the appearance of different text boxes.
    I should also add that I am a beginner with this stuff.
    Thank you very much for any help you can provide.

    Remove the red coloured part
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible {
    left: auto;
    top:0;
    or start again with the original SpryMenuBarHorizontal.css and follow the rules as in http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one.
    Either way will get you back on track.
    Good luck.
    Ben

  • Linking a page as a browser window from a drop-down menu item

    I have tried to link from a drop-down menu item to link to a small browser window instead of a full page.  I tried using the "behaviors" but I got both the regular page and the browser window.  Is there a way to make it just the browser window.
    Thanks.

    I tried that target=_Blank" but I still got the regular page plus the small browser window .  I got rid of the Behavior for now.  My aim is to would display the page in a simple 450 wide x 450 long browser window with a scroll bar with nothing else.  If you can give me a code hint to do that, It would be appreciated.  I'll figure out the rest.
    My HTML coding skills are limited, as I'm used to using FP.(FP seems to be to the Web circles as the Bard's Scottish Play is to the theatrical world)

  • Adding  a drop down menu item?

    Can I add a drop down menu item from the interactive form opening page dropdown list.

    Doug,
    Ah, that's called the Action Menu and at this point there's no way to do that - at least not a supported method. You could always manipulate the "apexir_ACTIONSMENU" list...
    This would make a good enhancement request.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • In firefox 4, bookmarks drop down menu dissapeared next to the home buttom, but appears to be there when customizing, when clicking done, is dissapears

    My bookmark drop down menu disappeared next to the home button on firefox 4. When I right click customize, the bookmark drop down appears on menu bar, but when clicking done, it's gone again. I went into customize and removed it then put it back. When clicking done, it is gone again and will not appear. It happened when I click tools, options, tabs, and uncheck open new windows in a new tab, then clicked ok

    I had this same problem, using Ubuntu 11.04, here is the solution, pretty simple after trying 800 things to find the solution. Go to your addons, disable the addon called "global menu bar integration", then if your menubar is still viewable, disable it, and then you can see the drop down menu for your bookmarks. If you don't have Ubuntu then you just need to disable your menubar directly (the one with File, Edit, View, etc).

  • My iPhoto "share" drop down menu no longer has the burn dvd option.  What do I do?

    My iPhoto "share" drop down menu no longer has the burn dvd option.  What do I do?

    That feature was dropped with iPhoto 9.  Select the photos you want to burn to disk, export to a folder on the Desktop via the File ➙ Export ➙ File Export  menu, insert a blank disk in the optical dirive, drag the folder onto the disk icon and drag it to the Trash bin to burm.
    OT

  • I am trying to load iTunes and keep getting a error 126 and reinstall program.  I have uninstalled and reinstalled twice and keep getting the same error message.  How can this be resolved.

    I am trying to load iTunes and keep getting a error 126 and reinstall program.  I have uninstalled and reinstalled twice and keep getting the same error message.  How can this be resolved?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • My daughter and I have the same ITunes account.  How can we separate them?

    My daughter and I share the same ITunes account.  How can we separate the accounts?

    I shared my iTunes account with my 2 daughters for years.  A few months ago, switched to iOS 8 and Yosemite and upgraded to Family Sharing.  We can still share music/apps/etc, BUT now everyone in the family has their own playlists, document, etc.  Works great.
    More info here:
    Family Sharing - Apple Support

  • HT201363 My iPhone, iPad and iPod are all associated with the same Apple ID.  How can I remove the iPod and associate it with a new Apple ID without affecting the data on the other devices (note: there is no data on the iPod I want to keep)?

    My iPhone, iPad and iPod are all associated with the same Apple ID.  How can I remove the iPod and associate it with a new Apple ID without affecting the data on the other devices (note: there is no data on the iPod I want to keep)?

    Very simple.  Turn off Find my iDevice, then  Tap Settings, General, Erase, Erase all content and settings.

  • All my contact are being copied to my friend's iphone and i also am getting his contacts on my phone,when i delete a contact it also deletes it from his phone,we are sharing the same apple ID. How can i stop our contacts from being shared between us

    All my contact are being copied to my friend's iphone and i also am getting his contacts on my phone,when i delete a contact it also deletes it from his phone,we are sharing the same apple ID. How can i stop our contacts from being shared between us

    Everything that you have checked in your icloud settings will be shared between devices using the same Apple ID.  If you don't want icloud to share that information, then simply turn off that process under settings > icloud

  • I want to install lightroom previously installed on a macbook on a new macbook. I get an error message when I try to use the same serial number. How can I install lightroom on my new mac?

    i want to install lightroom previously installed on a macbook on a new macbook. I get an error message when I try to use the same serial number. How can I install lightroom on my new mac?

    Oliver,
    Are you getting activation errors? As Ned stated , it is easier to troubleshoot if we have the specific type of error and error detail that you are getting.
    Here is some help on activation if this is the issue:
    https://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    Pattie

  • I just did something on my mac and now the date, time and battery percentage are in arabic and it says lebanon (arabic) in the language and text preference, how can i change it back to english? ps: i'm hopeless.

    i just did something on my mac and now the date, time and battery percentage are in arabic and it says lebanon (arabic) in the language and text preference, how can i change it back to english?
    ps: i'm hopeless.

    So what you want is for it to say Lebanon (English)?  If so, see if this helps:
    http://m10lmac.blogspot.com/2012/05/fixing-custom-english-region-settings.html

Maybe you are looking for

  • Can i use two apple id accounts on one iphone?

    I have an apple id with no money on it so i was wondering can i use mine for the free apps and use my dad's who has money on his to buy apps?

  • Error in cacelling billing document in t.code VF11

    Dear Friends, When i have Cancel billing document with t code VF11, following error occuared Error Log 1102277799 000000 Cancellation document is not the same as the original billing doc. 1102277799 102277799 000000 Data inconsistency during processi

  • Client ABAP Proxy : how to know which program is calling that service interface proxy

    Hi All, I have prepared some client proxy in ECC to communicate with PI. But, if I am not wrong, unlike server proxy which is written directly in the class Provider class in SPROXT transaction, in client proxy we write abap code to trigger proxy in S

  • Quantity Fields in VL10A

    Dear All, In VL10A report layout; there are a set of quantity columns such as 'Delivered Quantity', 'Delivery Quantity', 'Order Quantity', and 'Open Quantity'. When I display these columns in the layout, they don't display any value even when there i

  • Applet & socket problem

    I want to request Socket port (23)and exchange string from Applet program When I try this program , java security exception occur how I can use port 23 from Applet thanks