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.

Similar Messages

  • 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];

  • 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

  • CSS Drop down menu; how to align the right edge of drop down and parent menu?

    Hello everyone,
    I have a drop-down menu that is currently working well.
    The only change I need to make is to have the right edge of the  drop-down menu to align with the right edge of the parent menu. When you  hover over the menu, it currently "drops" down and to the right, with  the left edges aligned.
    I want the menu to "drop" down and to the left, so the right edges are aligned.
    I have tried fiddling with floats and absolute/relative positioning. I'm not sure what needs to be changed.
    Any help you can provide is greatly appreciated! I'm learning via "cut and paste", so please go easy on any terminology you may use.
    Thank you!
    Here is my code:
    .chromestyle{
         width: 100%;
         font-weight: bold;
         float: left;
         height: 29px;
    .chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    .chromestyle ul{
    border: 0px solid #BBB;
    width: 100%;
    background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
    padding: 4px 0;
    margin: 0;
    text-align: right; /*set value to "left", "center", or "right"*/
    .chromestyle ul li{
    display: inline;
    .chromestyle ul li a{
    color: #000000;
    padding: 4px 7px;
    margin: 0;
    text-decoration: none;
    border-left: 1px solid #DADADA;
    .chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
    background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
    /* ######### Style for Drop Down Menu ######### */
    .dropmenudiv{
    position:absolute;
    top: 0;
    border: 1px solid #BBB; /*THEME CHANGE HERE*/
    border-bottom-width: 0;
    font:normal 12px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    width: 200px;
    visibility: hidden;
    .dropmenudiv a{
    width: auto;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
    padding: 2px 5px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    * html .dropmenudiv a{ /*IE only hack*/
    width: 100%;
    .dropmenudiv a:hover{ /*THEME CHANGE HERE*/
    background-color: #0000ff;
    color: #fff200;

    Try this:
    .chromestyle{
         font-weight: bold;
         height: 29px;
    .chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    .chromestyle ul{
    border: 0px solid #BBB;
    width:100%;
    background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
    padding: 4px 0;
    margin: 0;
    text-align: left; /*set value to "left", "center", or "right"*/
    .chromestyle ul li{
    display: inline;
    .chromestyle ul li a{
    color: #000000;
    padding: 4px 7px;
    margin: 0;
    text-decoration: none;
    border-left: 1px solid #DADADA;
    .chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
    background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
    /* ######### Style for Drop Down Menu ######### */
    .dropmenudiv{
    position:absolute;
    top: 0;
    border: 1px solid #BBB; /*THEME CHANGE HERE*/
    border-bottom-width: 0;
    font:normal 12px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    visibility: hidden;
    text-align:left;
    .dropmenudiv a{
    width: auto;
    display: block;
    border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
    padding: 3px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    * html .dropmenudiv a{ /*IE only hack*/
    width: 100%;
    .dropmenudiv a:hover{ /*THEME CHANGE HERE*/
    background-color: #0000ff;
    color: #fff200;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • 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

  • The BBC is a drop-down menu item on my bookmarks toolbar. About 20% of the time, when I click on a news story, I get the link that's underneath, not the one on the drop-down menu. What the?

    I don't understand why Firefox would take me to a link UNDERNEATH the link I clicked on in the drop-down menu. Items in the drop-down menu are supposed to be clickable. I'm tired of clicking on a BBC news story link only to be sent to the beanie babies page of Amazon.com.
    == This happened ==
    Not sure how often
    == I installed my third-to-latest upgrade, about 3.5

    To add a Pinterest icon to your Home Screen do the followiing:
    In Safari:
    Go to the Pinterest Website - http://pinterest.com
    Touch the Share icon at the top (looks like a box with an arrow coming out)
    Touch Add to Home Screen

  • Can't see all the drop down menu items in Thunderbird

    I have a MAC OS10.8.5. and Tbird 36.1. I have been searchING for strategies to increase the font size on Tbird. I added the "theme font size and changer". THIS improved my situation a bit.
    I upgraded my MAC from 10.6.8 to 10.8.5. A few weeks later I noticed that I can not see all the contents in the drop down windows.
    I disabled the "theme font size and changer". I deleted the localstore.rdf. No results either time.
    Attached is one of the windows. When I am typing in the "To" field, the auto-fill only lets me see barely 1 email. When I go into preferences on Tbird, the windows for preferences are cut off.
    How can I restore the windows so I can see everything?

    Please check your graphic driver is up to date.
    If it still fails to work after updating drivers:
    Then test in Thunderbird safe mode.
    Help > Restart with addons disabled
    If this fixes the issue then it is possible that one of your addon extensions is causing the problem. You would need to restart in Normal mode and then disable addon extensions until you locate the one causing an issue - maybe it needs updating.

  • Drop-down menu items appearing all over screen ?

    So i have a JSP webpage accessed by about 20 people. It has some drop-down fields for doing a search. After the search, the screen gets all messed up (this happens randomly and is hard to reproduce). It basically takes a drop-down menu's items and places them randomly across the screen.
    I am not sure what is causing this, but if you have any ideas or suggestions, I will appriciate it. I am not posting any code yet, cuz i'm not sure where the problem is, or what it is?

    The following is from the JSP where I feel the problem is occurring
       <%=XMLUtil.toString(XMLUtil.toHiddenField("pname",  qSearch + ": " + queue.getName()) )%>
        <TABLE class="TITLE_TOP">
            <TR><TD><%=queueMgr.getSelectionModeSpecifier(null)%></TD>
                <TD align=right><A class=BUTTON href="javascript:startSearch();" onmouseover="return setStatus();"><%=pm_logon.map(PMConstant.SEARCH_BTN)%></A></TD></TR></TABLE>
            <TABLE class=PANEL>
            <TR><TD class=LABEL><%=pm_logon.map(PMConstant.MSG_QUEUE)%></TD>
                <TD><%= XMLUtil.toString(queueMgr.getQueueIdSpecifier())%></TD></TR>
            <TR><TD class=LABEL><%=pm_logon.map(PMConstant.MSG_FILTER)%></TD>
                <TD><%= XMLUtil.toString(myFilter.getFilterCountSpecifier() ) %>
                    <%=pm_logon.map(PMConstant.MSG_PAGESIZE)%><%= XMLUtil.toString(mySearch.getPageSizeSpecifier() ) %></TD></TR>
            <TR><TD></TD><TD><%= myFilter %></TD></TR></TABLE>
            <BR>
        <%
            if (size > 0) {
        %>
        <%=XMLUtil.toSummary(pm_logon, size, mySearch, "mySearch")%>
        <%= XMLUtil.toString(mySearch.getPage("editColumn", false, false, false, false, false, true)) %>
        <%
            }else if( SearchManager.ACTION_SEARCH.equals(mySearch.getSearchAction()) ){
        %>
             <%=XMLUtil.toWarning(pm_logon.map(PMConstant.MSG_NO_REC), pm_config.queueAutoRefreshInterval()<= 0 )%>
        <%
        %>the following is a method from the XMLUtil being called:
        public static String toString(Node node)
            StringWriter out = null;
            DOMWriter domWriter = null;
            String returnString = null;
            try
                out = new StringWriter();
                domWriter = new DOMWriter(out);
                domWriter.print(node);
                out.flush();
                returnString = out.toString();
            catch(Throwable e1)
                returnString =  "";
            finally
                try
                    out.close();
                catch(Throwable e2)
            return returnString;
        }

  • How do i create a drop down menu for selecting from the drop down arrow

    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears

    katiesandell wrote:
    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
    Hi Katie,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Numbers vocabulary for this feature is a "Pop-up Menu". It's available as a Cell Format, and is set and edited in the Cell Format Inspector.
    See "Using a Checkbox, Slider, Stepper, or Pop-Up Menu in Table Cells" starting on page 96 of the Numbers '09 User Guide.
    This guide, and the equally useful iWork Formulas and Functions User Guide are available for download through the Help menu in Numbers.
    Regards,
    Barry

  • On the Firefox drop down menu for Firefox 4, the tab for cut, copy and paste is not highlighted. Is there another way for me to include this on the Firefox start page?

    I have Firefox 4. In the Firefox drop down menu, there is an option to cut, copy and paste but it is not highlighted. Please tell me how to highlight this link. Or is there a way to have a cut copy and paste tab?

    Those links in the Edit menu are only highlighted if there is something to do:<br />
    Paste should be enabled if the clipboard has data placed on it by a previous Copy or Cut and you have set focus on a text area or field that allows to paste that data.
    Copy works if some text is selected.

  • The tools drop down menu does not have the options "button?" or whatever it is called. So, how do I get it back or better yet... where is it? 14.1.0 mac

    I am on a Mac. I am running Firefox 14.0.1 In the tools drop down menu, there is no options button. where is it or how do i restore it to the tools menu?

    Thanks for the reply, but I didn't understand it. As you can tell, I am not very good with computer jargon. So, I have to be walked through every step.
    Still, I think you were not trying to answer my Tools/option question so much as tell me how to do something else. On this, I could be incorrect.

Maybe you are looking for

  • Upgrading from Mac OS 10.4.11 to Mac OS 10.5

    I have an older MacBook 2,1. I am trying to connect it a new HP OfficeJet wide format printer. This printer will only work with Mac OS 10.5 and higher. Can I just upgrade the Mac OS 10.4.11 to Mac OS 10.5.8 for the MacBook 2.1 ... OR I am I setting m

  • IMac 27" with external Apple 24" LED Display

    Hi, I want to know if is there a method to sync the brightness of the two monitor. Everytime I have to change the brightness of the first monitor, and after the one of the second... Another thing. All the two monitors (the imac and the external apple

  • Airport and Distribution !??

    Hi All, I have a plan... Dangerous I know, however I'm not sure if it would work. In the near future I will be in a situation where my internet will be coming from a shared source (will be a WiFi hotspot in a marina) I will most likely be issued a fi

  • Flash CS5 , TLF2 and verify errors

    Hi, This code : var tlf:TLFTextField= new TLFTextField() tlf.type=TextFieldType.DYNAMIC addChild(tlf) throws these errors: What Im doing wrong? TIA verify fl.text::TLFTextField/setFormatForAllElements()                         stack:                 

  • Printing Stage

    Hello! In the following of my previous project that i mention on my last post, i will need now to be able to print the elements contained on the stage (text input information given by the user combined with some text and images) on a format of a A4 l