Cany you link a combo box to a submit form button?

This question pertains to Adobe Acrobat 9 Standard.
On my form, I have a combo box that lists 5 names and a button that I want to use to submit the form via email. 
Based on the combo box selection, I want the submit button (when pressed) to submit the completed form directly to the email address that corresponds to the name selected.
Is there a way to do this?
Any help will be greatly appreciated!

The Industry combo box contains the following keystroke script:
// Custom Keystroke script for combo box
(function () {
if (!event.willCommit) {
// Set up an array for arrays of industry corresponding to export values in this combo box
var aIndustry = [];
aIndustry[0] = ["--"]
aIndustry[1] = ["Jen H"];
aIndustry[2] = ["Al M"];
aIndustry[3] = ["Steve T"];
aIndustry[4] = ["Al M, Jen H, Steve T, Glen P"];
aIndustry[5] = ["Al M"];
aIndustry[6] = ["Al M"];
aIndustry[7] = ["Steve T"];
aIndustry[8] = ["Jen H"];
aIndustry[9] = ["Glen P"];
aIndustry[10] = ["Al M, Jen H, Steve T, Glen P"];
aIndustry[11] = ["Steve T"];
aIndustry[12] = ["Al M"];
aIndustry[13] = ["Jen H"];
aIndustry[14] = ["Jen H"];
aIndustry[15] = ["Al M"];// Get the export value of the selected item
var ex_val = event.changeEx;
// Populate the combo box field with the industry
getField("BD Executive").setItems(aIndustry[ex_val]);
When one of the 15 industries are selected, the Executive field automatically populates with one of four names (or, in two instances, all four names).
Let's say I choose Construction as my Industry.  The Executive field automatically has Jen H's name.
When the form is complete and I click the Submit Button, I want it to submit the form by e-mail directly to Jen H.
So do I have to enter a script somewhere within the Executive field or the Submit Button field?
Please excuse my ignorance.  I'm very, very new to this.
Thanks again for everything!!!

Similar Messages

  • How to link two combo boxes? (urgent)

    Hello,
    I am wondering how to link two combo boxes in Acrobat Pro 9. Basically, I need to link a building with a list of rooms. There are 3 building choices in my first combo box. For the sake of example, Building A, Building B and Building C. When one of the buildings is selected, I want a 2nd combo box to display the rooms that are located in that building. So by selecting building A, you would then be able to choose a room from the list of available rooms in the second drop box. The buildings cannot share a list of rooms because they have the same room numbers. Is anyone able to help?
    - Travis

    You can also use ajax. When the first combo box element is selected, it will call the ajax function and that ajax function will bring the data from the database and place it in second combo box.

  • How do you add a combo box into a Jfilechooser?

    how do you add a combo box into a Jfilechooser?
    thanks

    See the API For JFileChooser
    public void setAccessory(JComponent newAccessory)Extend a JPanel or Such like, put your Combo Box on it, fiddle around with event handling code for the ComboBox..
    Set an Instance of that as The Accessory for the JFileChooser.
    Look In Your Docs:-
    <JAVA_HOME>/Demo/jfc/SwingSet2/src , unpack SwingSet2.jar if neccessary
    In there is a demo of using A JFileChooser with an accessory Panel, and Source code that is adaptable...

  • How do you link 2 text boxes in new pages

    How do you link two text boxes in the new pages.  The old one was much easier to use.

    I think this is impossible! Ive been trying today and I couldnt do it. Then I opened up an old document that had text linking in it and I got a message telling me that the text boxes were now unlinked!  Why would you remove that? For me this software is now useless. How on earth do I get my old version back?
    <Edited by Host>

  • Combo box in the system form

    HI
    We r assuming  " freezing = Absent"
    When we select " freezing" in the combo box in the system form, "Absent" should be displayed in the matrix for the particular  row in the user form.
    Freezing should be displayed as Absent
    Working should be  displayed as Present
    what is the coding for this process . can anyone help me...
    Regards
    Bhuvana
    Edited by: bhuvana eshwari on Jul 30, 2008 6:45 AM

    Hi Bhuvana,
    In the combo Select Event, get the user form and then get the matrix then set the value. The code sample is as follows.
    Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
                                If oCmbBox.Selected.Value = Freezing Then
                                     oForm = getForm("UserFormID")      
                                     objMatrix = oForm.Items.Item("UID").Specific
                                       objedit = objMatrix.Columns.Item("V_14").Cells.Item(pVal.Row).Specific
    ObjEdit.String = Absent
    ElseIF oCmbBox.Selected.Value = Working
               'Use same logic
    EndIF
    Reward with points if helpful.
    Regards,
    Vasu Natari.

  • Is it possible to remove the submit form button that's automatically created when you distribute a form?

    I have created a form for my boss and distributed it. She doesn't want the submit form button to appear as people don't need to submit the form to anyone, just fill it in and keep a copy. I can't figure out how to remove this button. It's not one I've created, it's the one that it automatically generates when you don't have a submit button in your form. Is it possible to remove this button or do we just have to live with it? I am using Adobe Acrobat X Pro.
    Thanks

    You can have more control on the email subject/ to and CC Email address, if you use a regular button and place the code in the click event.
    Refer to the attached sample below.
    https://acrobat.com/#d=HouRLov3lOntSbqAfsr5Hg
    Thanks
    Srini

  • How do you use the combo box to populate a text box

    I am a beginner when it comes to Java Script.  I have viewed many different discussions, look at a lot of "help" articles dealing with Acrobat 9 and Java Script, but only to be left confused and dazed.  I am hoping someone will be able to tell me how to write a script that will populate a text box that is on my form with the combo box selection's export value...
    Thanks

    If you want the text box to be read-only, just set it up with the following custom calculate script:
    // Set this field value to the value of the combo box
    event.value = getField("combo1").value;
    but replace "combo1" with the actual name of the combo box field.
    If you want something else, post again with more information.

  • In a tubular form: how do you make one combo box reflect another

    For example:
    if there are two fields, one with combo box with bread, meat, juice and I select juice, I and the contents of another combo box in another field to say Orange, grape, lemon.
    field one field two
    bread orange
    meat grape
    juice lemon
    in field one there is just those 3 but in the table representing two there are many such as types of bread and meat and juice, all three.
    Hope you can understand this example. Thanks for your help.

    Your description is not very clear but looks like you want cascading select lists, where 2nd select list is populated based on value selected in the first select list.
    AJAX is a good solution if you are comfortable with it. Since I'm not very familiar with that, I end up using pl/sql.
    Someone had asked similar question few days back, and i had provided a detailed answer. You can check it out at:
    Re: select menu depends from selection
    Hope this helps.

  • Linking multiple combo boxes

    Hello,
    I need some help with something that I am having trouble wrapping my head around. I am in the midst of creating some forms for our office that were originally MS Word files that have since been converted to PDF's. On these forms (which are now compiled into one PDF) there is a field for a name and one fore a licence number. What I would like to do (if possible) is have a drop down combo box with the pilots name. Once the name has been selected, it automatically populates the pilots name and licence number on the subsequent forms.
    Is this possible and if so, does someone have a tutorial on how to do this? I have not had much luck looking online but thought perhaps someone on here may have tired something similar before.
    Thanks.
    Chris

    Yes it's possible. For some help, check out: http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/
    There is a part 2 to this article that may help as well.
    George

  • How do I populate the choices in a Combo Box in a PDF Form from an Excel spreadsheet or text file?

    Pleasel let me know if there is a way to copy and paste choices for a Combo Box from an Excel spreadsheet or text file.  I have over 250 values I'd like to add and don't trust my typing!
    Thanks for the help!
    Ken K. - 2191

    Yes, using the field.getItemAt method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.745.html
    E.g.:
    var aItems = [];
    var f = getField("combo1");
    for (var i = 0; i < f.numItems; i++) {
        aItems[i] = f.getItemAt(i);
    If there are export values you need to decide how to use the optional bExportValue parameter.

  • No connections in the combo box of Infobus Data Form Wizard?

    I am trying to create a new project but when I try and select a
    connection, the "Connection" drop-down combo-box is empty. I have
    created 9 connections, but cannot select them. I have tried
    adding a new one and editing but still they do not appear.
    Am I doing something stupidly wrong here?
    Any help would be appreciated,
    Thanks,
    Andy Shiels
    null

    JDeveloper Team (guest) wrote:
    : Andy,
    : The Infobus controls can only talk via the Oracle JDBC drivers
    : (thin and OCI only, not Oracle Lite) to an Oracle database
    : (again, not Oracle Lite), so the wizard will only display
    : connections that meet those criteria.
    : If you have created IIOP connections, or connections that use
    a
    : driver other than the Oracle JDBC Thin or OCI drivers
    (including
    : the Oracle Lite JDBC driver), these connections will not
    appear
    : in the list of available connections to use.
    : L
    : Andy Shiels (guest) wrote:
    : : I am trying to create a new project but when I try and
    select a
    : : connection, the "Connection" drop-down combo-box is empty. I
    : have
    : : created 9 connections, but cannot select them. I have tried
    : : adding a new one and editing but still they do not appear.
    : : Am I doing something stupidly wrong here?
    : : Any help would be appreciated,
    : : Thanks,
    : : Andy Shiels
    I have a similar problem using JDBC-ODBC bridge with MS access
    (just for testing JDeveloper). How do I select the connection,
    get pass the step to move on to the next step in the DB Servlet
    wizard? Thanks.
    null

  • How to get values in the combo box in a XML form?

    Hi All,
        1. I have created a property which has "Default value" as "Clothings" and  "Allowed Values(csv)" as Real Estate - Sales , Clothings etc" by navigating to KM > CM > Global Services > Property Metadata > Properties.
       2. In the XML form builder when I drag this property I get a combo box for this property.
       3. But when I preview this by going to Content Management > Folder > New > FORMS > and select my XML form project I get a preview but it is not showing me the default values in the combo boxes which I created using the property in XML form builder.
    Please Suggest me as to how to get those values (which I mentioned in property) in the combo box ?
    Thanks in Advance,
    Jasmine.

    Hi All,
      I ll make the above Query Simple.
    1.In Xml Form Builder when you drag a property which has some 3-4 assigned values so you are  recomended to use a combo box.
    2.But the problem after using COMBOBOX is I am not getting these values in the preview of the combo box.
    3.Help Required please its urgent.
    Thanks in advance,
    Jasmine.

  • Combo Box Edits in acrobat Forms, how to do a multi-line combo box?

    Could only create a one-liners for this editable combo box, is there a way to create a multi-line like the other fields?

    Nope. But you can set up a multiline text field that gets populated with the complete text you want when an item is selected from a combo box.The combo box items might be abbreviated or coded versions of the complete text you want to display.

  • Combo Box choices hide or show buttons

    I am trying to have different pictures display when different choices are made in a combo box.  I have made the pictures images on different buttons.  The Combo Box name is "Ribbon"  .  Under one of the button images is this script.
    var target =
    this.getField('Ribbon');
    cBox.value = ('RIBREG').Display=display.hidden; cBox.value = ('RIBFOIL').Display=display.visible;
    meaning if RIBFOIL was chosen this button would display
    Of course it is not working.  Any input would be greatly appreciated.
    Thanks!

    Good Morning,
    cbox.value is the Combo Box seletion.  I finally did get this to work . The below code is posted under the combo box instead of the actual image.
    Thanks for your reply!
    if(event.value == 'RIBREG'){
    this.getField('Image Rib 1').hidden = true; //
    this.getField('Image Rib 2').hidden = false; //
    if(event.value == 'RIBFOIL'){
    this.getField('Image Rib 1').hidden = false; //

  • How do you add a combo box item in Forte?

    Okay how do I add items to a JComboBox using the Forte form editor.

    String stuff = new String{"1", "2", "3", "4" };
    I think you ment to make stuff an array of String.
    In component inspector under Code Gneration
    select post creation, select the ... box and type in
    new JComboBox(stuff); or = new JComboBox(stuff);
    might have to put the equal sign in there I forgetI did this and I am not getting any items dropped down.
    >
    >
    Hope that helps
    Jim

Maybe you are looking for

  • Itunes 7.6.1 and Apple TV

    I'm having a problem with my MAC Itunes seeing Apple TV in the device list. Itunes under XP, Vista, and Win Server 2003 can see Itunes but my MAC can't. I've reinstalled Itunes, upgraded to 7.6.1, did a factory restore on my apple TV, opened up my Ma

  • Macbook Pro 15'' options for gaming and college

    Hi there Apple Community! I'm having trouble choosing the best cost benefit for a new Mac. I'm a college student and my main priority is to have a mobile unit to cary with me for classes. I'm also a gamer, and since this will be my main computer I'd

  • HT4859 How content is restored to a new device after choosing start as new iPhone

    I got a new 3GS that is built with iOS5. The thing is my former 3GS had the iOS6 and hence my recent iCloud backups were done with iOS6. When tried to choose "Restore from iCloud backup" I could only see very old backups (I assume latest iCloud backu

  • Problem with CS2 Not Having Enough RAM

    Every time I start Illustrator CS2 I get the message "The operation cannot complete because there isn't enough memory (RAM)available." System requirements for CS2 is 256MB of RAM (512MB recommended) and I'm running 4GB of RAM. Does anyone know what c

  • Apple keyboard not pairing with iMac

    My wireless keyboard was working fine just until 2 weeks ago when I went out of town for a couple of weeks (and it has worked fine for over 2 years now).  Now it is giving me problems pairing with my iMac.  I've gone through all the support discussio