Drop Down Lists that connect with eachother

I'm trying to make a form in which I have the following fields:
To:
Company:
Email:
Fax:
Now I want to do a drop down list because I have several contacts, but I want it so that when I chose the person in the "To:" field, it will put the company, email and fax for that person in the rest of the fields. I put the details into drop down menus for the rest of the fields but I can't get it to relate joe shmoe to his email [email protected] and so on.
HELP!

Launch Designer and open your form. Once it comes up Click on the Windows menu and ensure the Scripting Editor is enabled. Below the toolbars but above the form display is a blank area that is the scripting editor. At the top of that area are dropdowns that allow you to pick events as well as scripting language and location. Click on the dropdown that you want to code. Make sure the language in the script editor is set to Javascript and it is set to run at Client. In the event dropdown, choose Change. In the blank area you can add your code. Note that the script editor will show you the code that is associated with the object that has focus.

Similar Messages

  • Create a drop down list that populates based on the selection form another drop down list.

    I need to set up a drop down list that is popualated (i.e. displays a certain list of selctions in the drop down list) based on the choise the form user selects in an adjacent List
    For example
    There are two drop down list field sitting side by side in the form
    1. Select State          2. Select Course
    What I want to do is have a list of states in the first drop down list (1.Select State) and depending on which state the form user selects , the second drop down list (2.Select Course) will populate with a selction of courses available in that selected state only (i.e. it will on;y show course available in QLD if QLD is selcted).
    Is this hard to do?

    Hi,
    I would recommend some posts from Stefan Cameron's blog:
    http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/
    http://forms.stefcameron.com/2006/12/07/better-form-design-with-xfa-25/
    Hope that helps,
    Niall

  • Just started using Firefox; problem re log into New Yahoo; i have typed in my ID including several mistakes and i want to get rid of these from the drop down list that appears when i start to enter my ID. 'Clear History' does not seem to deal with this.

    OR even better stop the drop down list appearing altogether;

    Take a look here:
    https://support.mozilla.com/en-US/questions/871553
    thank you

  • How to use value in a drop-down list box as "With these Values" parameter?

    Hello, new user.
    I have a drop-down list box on Page 1, upon which the user can choose a study number. The List Box is named "P1_STUDY_NBR".
    Then I have a list, one entry of which goes to my master-detail form, which is Page 6. I would like it to go to the study number that the user choose on Page 1.
    In my target on the create/edit list entry, I put in "Page in this Application", "Page 6", then in Set these items, I put in
    P6_STUDY_NBR
    My question is what to use in With these values, where I want the contents of the P1_STUDY_NBR. I tried:
    &P1_STUDY_NBR
    and that does not work. If I put in one of the study numbers, like 336-00, then it does work, but I want it to pass the study number the user chooses in the list box. How do I refer to the contents of P1_STUDY_NBR?
    -Mary

    Yes, that does work, thanks. I'm now getting the default value I was putting in yesterday rather than an error message, so there must be something loading it, but I'll hunt around for what process might be doing that, or try re-creating the master-detail form again.

  • Acrobat form; how to set-up a drop down list that has catagories?

    Hi,
    We produce business directories.
    I am working on a display ad proof template where the user has a choice of 10 main categories where each main has 5 to 15 sub-categories.
    In my new Adobe Acrobat Pro 9 I understand how to create a drop down list, but can't seem to find where to tie in the sub-categories for each for the main listing.
    When the main category is chosen it would only show the related subcategories. See clip below. I am sure this is easy...just find the steps in the instructions.
    Thanks, Bruce 

    Hi Bruce,
    This forum is specific to Designer, which comes with Acrobat Pro 9. It will be easier to create this type of functionality in Designer (compared to achieving it in Acrobat).
    Designer creates XFA Forms, which are wrapped in a PDF. The user doesn't see any difference: eg they see a PDF which will open in Acrobat/Reader. However for user with Reader to be able to save the data they input, the form must be reader Enabled. This is a topic in itself and there are many discussions on the forums - just try a quick search.
    Now to the question...
    Yes, you can achieve this with some script. Basically you would need script in the preOpen event of the Business sub-category, which would look back at the selection in the Business category. Based on this value, the script would populate the sub-category with appropriate items.
    There is an example here: http://assure.ly/jcTahK.
    Hope that helps,
    Niall

  • Drop Down list in table with data from database table

    Hi,
    I have created an interactive form in WD ABAP.
    In Context tab I have created the nodes as follows:
    ZSOHEADER node with cardinality 1..1
    |-> MATERIAL node with cardinality 0..n. Under MATERIAL node there are 2 attrib. MAKTX and MATNR.
    I am fetching data from MARA table into an internal table IT_MARA.
    The node MATERIAL is bound to internal table IT_MARA.
    I have created a table with property ' Body rows vary depending on data ' .
    I have only one row in table. The first cell of the row is a drop down field.
    I have bind the field to the node MATERIAL->DATA->MAKTX.
    Now the issue is even though I have created only one row in my table, in preview it is creating as many rows in the table as the no.of records in the internal table.
    I want only one row with the drop down list containing all values of the internal table.
    Kindly suggest what to do.
    Regards,
    Vinod

    Hi,
    In the WebDynpro Context, in the main node create another node like A1 with cardinality 0..n and in this node create attributes TEXT and VALUE.
    Now goto method and in that method using code wizard read the node A1.
    And use the below code snippet sample in your program, i.e. code this under respective method of the webdynpro.
    *Declare the TYPES
    TYPES : BEGIN OF TY_TABLE,
    TEXT TYPE SOMETYPE,
    VALUE TYPE SOMETYPE,
    END OF TY_UOM.
    *Define Internal Table and work area.
    DATA : IT_TABLE TYPE STANDARD TABLE OF TY_TABLE INITIAL SIZE 0,
    WA_TABLE TYPE TY_TABLE.
    SELECT TEXT VALUE FROM TABLENAME INTO TABLE IT_TABLE.
    lr_node_info->bind_table( IT_TABLE ).
    And in the Adobe Form Layout
    Go to Menu of the Adobe LiveCycle Designer:
    Tools>Options..>DataBinding
    In that window you just check the Show Dynamic properties Check Box.
    Now for the Drop Down go the binding tab in object palette and click on the list items and there specify the Internal Table and specify the text as the internal table text field and value as internal table value field.
    OR
    From the WebDynpro Native Library Palette use the Value Help Drop Down and in object pallette goto binding tab and provide the form interface binding. Before this in the WebDynpro goto Context and for the particular field under the properties provide the search help as dictionary search help and specify the name of the dictionary search help.
    OR
    We have another method of setting the Text and Value to the DDL directly in the WebDynpro by coding in the methods, I dont have much knowledge on this.
    Regards
    Pradeep Goli

  • Drop Down List functionailty changes with EHP4 / NW EP1

    Since applying ERP Enhancement Pack 4 and NW EP1 we are having a number of issues with the rendering of our Web Dynpro ABAP Applications. The main problem that users are complaining about is the drop down functionality. Previously users could tab into a drop down list and start typing and the list would display starting at the letter they had first typed in. This no longer happens. You have to have either mouse clicked into the field and then start typing or you can tab and press f4 and then start typing. The users are finding this very annoying. Does anyone know how this can be fixed or do we just have to live with it now??
    Thanks in advance.

    I searched for the note that Thomas suggested and found note 1467003 - Corrections for unified rendering up to SAP_BASIS 701/6 XIII. However, it wasn't realeased for download. So our basis team had to apply each note seperately. Here are the notes they applied:
    0001411235 Unified rendering corrections up to SAP_BASIS 701/06 I       
    0001424635 Corrections for unified rendering up to SAP_BASIS 701/06 II  
    0001428005 Corrections for unified rendering up to SAP_BASIS 701/06 III 
    0001435762 Corrections for unified rendering for SAP_BASIS 701/06 IV    
    0001439402 Corrections for unified rendering up to SAP_BASIS 701/06 V   
    0001446829 Corrections for unified rendering up to SAP_BASIS 701/06 VI  
    0001447383 Corrections for unified rendering up to SAP_BASIS 701/06 VII 
    0001454806 Corrs for unified rendering up to SAP_BASIS 701/06 VIII      
    0001458400 Corrections for unified rendering up to SAP_BASIS 701/06 IX  
    0001460168 Corrections for unified rendering up to SAP_BASIS 701/06 X   
    0001461842 Corrections for unified rendering up to SAP_BASIS 701/6 XI   
    0001464613 Corrections for unified rendering up to SAP_BASIS 701/6 XII  
    0001467003 Corrections for unified rendering up to SAP_BASIS 701/6 XIII 
    Unfortunately these notes did not fix our problem with the drop downs and it still remains. Unless there is another patch, I am probably going to have to raise an OSS note with SAP or wait until Enhancement Pack 2!

  • Is it possible to create interactive drop down lists that reference tables on separate pages of the PDF?

    I am looking to create a user input PDF in which drop down lists are utilized to search tables, however, I am not very familiar with the options that are available or if this is even possible?  Also, is it possible to write a background code that could read user inputted text to run a search or even solve some equation? Can someone let me know if these items are possible and/or let me know what adobe program may be necessary to accomplish these tasks? Thanks!

    PDFs have no concept of "tables" like MS Word or MS Excel has. There is content that looks like a table.
    Acrobat JavaScript does know about arrays and form fields. So one could have an array in JavaScript and fill in a series of fields that looks like a table. One can then use JavaScript to search the table.
    JavaScript in Acrobat can accept user input in fields and pop-up windows.
    It is possible to solve user imputed equations if the proper notation or coding is used.
    D.P. Story is a PDF evangelist that created LaTex for creating PDF with mathematical symbols and he also created the AcroTex product that can be used to create educational tools that includes mathematics including calculus self grading tests.

  • Create a drop-down list that populates from AD

    Hello,
    Is there a way to create a drop-down list in Excel that will populate from active directory?  I'm finding all sorts of stuff for SharePoint, but nothing for Excel. 
    Thanks!
    -Dusty

     If you are using the following version of Excel:
    1.Microsoft Office 2010 Professional Plus with Software Assurance
    2.Microsoft Office 2013 Professional Plus, Office 365 ProPlus or Excel 2013 Standalone
    You can download and install the Power Query add-in, then you can import the data from Active Directory to Excel.
    Wind Zhang
    TechNet Community Support

  • The drop-down list that appears when typing in the Google search bar doesn't work. Clicking on an item on that list does nothing. This very useful feature is broken.

    I just installed FireFox 4. In previous versions typing in the Google search box automatically created a drop-down list of items. One could click on an item on the list and proceed to a Google results page. In FireFox 4, the list appears but clicking on an item on the drop-down menu does nothing. It's broken and it was a very useful feature in previous versions.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Multiple drop down lists that allow users to select 3 unique choices from a list of options

    Lawanna Wice - 2:18pm Mar 15, 05 PST (#1 of 1)
    I'm creating a form from scratch in Adobe Designer. Well, the problem I'm having is I'm trying to create dropdowns in my form and I need three dropdowns with the same information but I would like to only select three of the items from each dropdown but I'm not sure what I need to do. I hope you'll understand.
    Ex: Directions: Please select your 1st, 2nd and 3rd peference from the listing but do not select the same perference, it has to be different.
    1st Preference: RCC, UPPP, AAA and TO
    2nd Preference: RCC, UPPP, AAA and TO
    3rd Preference: RCC, UPPP, AAA and TO
    The object is for them to select only three but not the same for each prefence but how can I create it in the form.

    Lawanna,
    Here is an example that is similar to what you are looking for.
    Click here to see it

  • What happened to the drop down list that said recent bookmarks?

    On Firefox to the right side of the page, there is a little star, and when you move your mouse on it, it
    will say, bookmark this page. Next to the star is a little icon, that says show your bookmarks.
    So, when I use to click on that icon, it would say most recent bookmarks, along with bookmarks toolbar, and unsorted
    bookmarks. I would like to know what happened to the icon that said, most recent bookmarks, or recently added bookmarks.
    I would appreciate any help in this matter.
    Many thanks.
    Enjoy your day!

    See:
    *https://support.mozilla.org/kb/restore-default-smart-bookmarks-folders
    * "Most Visited" and "Recently Bookmarked" and "Recent Tags" are examples of so called [[Smart Bookmarks folders|Smart Bookmarks folders]] and are not real existing folders.
    * Smart folders show a list created by a query of the places.sqlite database that stores bookmarks and history in Firefox.
    * Smart folder lists show a maximum of 10 entries by default.
    * Bookmarks and history items that show up in a smart folder list are stored elsewhere in another folder and any changes made are applied to the real bookmark or history item.
    * If you add a new bookmark or visit a website then a new item is added at the top and the entry at the bottom disappears from that list.
    * Items that disappear from the list are not gone, but merely do not show up anymore in that list.
    * Actions like copy & paste or delete that you perform on bookmarks in such a list are done on the original bookmark.

  • Drop Down List in ALV with Event handler

    Hi All ,
    I have created an ALV grid with a dropdown as one of the columns. This all works fine, except that I want to be able to react to a change in the value of each line's dropdown the next column values should change according to the user selection in the 1st column .
    Is this possible?
    As an example, I have a table of records with one column as a dropdown called " Replace Function Module "   and in 2nd column i have call function of that Replace Function Module , If a  change in " Replace Function Module " should change the call function of in the 2nd column .
    I am using these objects lvc_t_drop , lvc_s_drop and  the method  " set_drop_down_table ",
    Please Can any 1 tel me how to do this with any event handler ar any other way !

    Hi,
    You need to use event handler for this. Check if the below link gives some direction.
    [http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899ac01|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899ac01]
    I guess you should create a method inside which you call the FM using the FM name from the selected cell in ALV.
    I have not tried it out, but its worth a try.
    Hope this helps!
    Regards,
    Saumya

  • Can a FORM created in ACROBAT contain a drop down LIST that is LINKED to a SQL DATABASE?

    We have an electronic Purchase Requisition form that users use to enter requests to our purchasing dept.
    One of the FIELDS on the form is a VENDOR name that we would like to LINK to the VENDOR table in the SQL data base of our accounting software.  If we have to manually enter the validation table into Acrobat, it will be time consuming and difficult to maintain, because we are constantly adding vendors to the accounting system. Is there a way to do this? 

    Yes it can.
    there is a lot of documentation online and in various books about how to do this…

  • Error while populating drop down list with values from a database

    Hi all,
    I have a JSP page with a drop down list that is to be populated with values from a database.
    This is the code in my JSP file:
         <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
                Iterator<Integer> iterator = floornumbers.iterator(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% while (iterator.hasNext()) { %>
                       <option value="<%=iterator.next().intValue()%>"> <%=iterator.next().intValue()%> </option>
                       <% } %>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>   The DataManager.java class simply forwards this to its respective Peer class, which has the code shown below:
          package seatplanner.model;
        import java.sql.Connection;
        import java.sql.ResultSet;
        import java.sql.SQLException;
        import java.sql.Statement;
        import java.util.ArrayList;
        /* This class handles all floor operations */
         public class FloorPeer
         /* This method returns all the floor numbers */
         public static ArrayList<Integer> getAllFloorNumbers(DataManager dataManager) {
            ArrayList<Integer> floornumbers = new ArrayList<Integer>();
            Connection connection = dataManager.getConnection();
            if (connection != null) {
              try {
                Statement s = connection.createStatement();
                String sql = "select ID from floor order by ID asc";
                try {
                  ResultSet rs = s.executeQuery(sql);
                  try {
                    while (rs.next()) {
                      floornumbers.add(rs.getInt(1));
                  finally { rs.close(); }
                finally {s.close(); }
              catch (SQLException e) {
                System.out.println("Could not get floor numbers: " + e.getMessage());
              finally {
                dataManager.putConnection(connection);
            return floornumbers;
         }  The classes compile properly, but when I load this page up in Tomcat it just freezes and does not load the form. I tested the DB connection and it works fine.
    What am I doing wrong in the JSP code?
    Thanks for the help in advance.
    UPDATE: I commented out the form, and added <%=floornumbers.size()%> right above the commented code to check if the ArrayList is indeed getting populated with the values from the database (the values are of type integer in the database). The page still freezes like before. I'm puzzled now :confused: .

    Wrong usage of Iterator.
    <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
                Iterator<Integer> iterator = floornumbers.iterator(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% while (iterator.hasNext()) {
                                    Integer inte = iterator.next();
                            %>
                       <option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
                       <% } %>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>or make use of enhanced loop as you are already using J2SE 5.0+ for avoiding confusions.
    <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% for(Integer inte:floornumbers) {%>
                       <option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
                       <%}%>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>and a lot better thing would be making usage of basic Taglib provided with JSTL spec or struts spec which make life easier and simple.
    something like usage of <c:forEach/> or <logic:iterate/> would be lot better without writing a single scriptlet code.
    Hope that might help :)
    REGARDS,
    RaHuL

Maybe you are looking for