Drop down that fills a second field and sets the email recipient

(note: this was incorrecty posted in the Acro forum and I was informed to move it here)
Apologies for this simple, newbie question but I am stuck. I have worked on this for a few hours, and just cannot get it to work.
The basics: I want to get a name from a drop down, have it display in another field then set the submit button to email to that recipient.
Acrobat Pro X
LCD 9.0.0.2
Win 7
I have done this with one recipient before where the Submit button has all the info already entered, but this time I want to allow the user to choose from one recipient in a list and route the completed form to that person. I have tried all sorts of variations on Java examples in multiple forums and while everyone else seems to be able to do this, I have been unsuccessful. I cannot even get the text field to display the email based on the name in the drop down, much less the addressing part. I have tried a custom calculate script, case script and other items to no avail.
The 3 elements........
1) Drop down menu with names, let's just say there are two names - "John Doe (Eastern)" and "Jane Smith (Western)". The field is named "DistMgr".
2) Text Field that displays the corresponding email for the name in DistMgr. Pretty much only used for display to confirm the address visually. This field is named "Email".
3) Attach & Email button to send the form to the recipient chosen. Subject is always the same, lets just say it says "New Form". The button is named "Submit".
What I want to do is select the name from DistMgr, have it populate Email (for display in the form) and automatically change the Submit button to allow the user attach the fom, insert the appropriate email address & the standard subject and invoke a standard email client with just the click of the Submit button.
Any help would be appreciated and even links to locations where this very basic question has already been answered would work.
Thank you.
Joe Rowan

Are you using Adobe LiveCycle Designer?  If so when you have the form open in designer, click on the dropdowns you will see in the code behind that dropdown where it calls a variable which is called myScriptObject.  Behind the drop-down list called "teams" it calls this script.
Here is what is in the scriptobject:
var epl = "Chelsea,Manchester United,Arsenal,Tottenham";
var liga = "Barcelona,Real Madrid,Valencia,Mallorca";
var seriea = "Roma,Inter Milan,AC Milan,Sampdoria";
var eplArray = new Array();
eplArray = epl.split(",");
var ligaArray = new Array();
ligaArray = liga.split(",");
var serieaArray = new Array();
serieaArray = seriea.split(",");
function loadData(dropdownField) {
     if (!(form1.page1.subform1.league.isNull)) {
          switch (form1.page1.subform1.league.rawValue) {
               case "English Premier League":
                    for (var i=0; i < eplArray.length; i++) {
                         dropdownField.addItem(eplArray[i]);
                    break;
               case "Spanish Liga":
                    for (var i=0; i < ligaArray.length; i++) {
                         dropdownField.addItem(ligaArray[i]);
                    break;
               case "Italian Serie A":
                    for (var i=0; i < serieaArray.length; i++) {
                         dropdownField.addItem(serieaArray[i]);
                    break;
               default:
                    break;                    
Deborah

Similar Messages

  • Drop down menues reachoutside of Firefox window and maybe the whole monitor

    This is less a question, but a bug report.
    Just run the following HTML in Firefox 29(.01) and you will see
    <form>
    <div style="margin-left:1700px"><p> <!-- this is for 1920x1080 -->
    <select size="1" style="width:70px">
    <option> A A A A A</option>
    <option>BB BB BB BB BB BB BB BB BB BB BB BB BB BB</option>
    <option>CCC CCC CCC CCC CCC CCC CCC CCC CCC CCC CCC</option>
    <option>DDDD DDDD DDDD DDDD DDDD DDDD DDDD DDDD DDDD</option>
    <option>EEEEE EEEEE EEEEE EEEEE EEEEE EEEEE EEEEE</option>
    </select>
    </p></div>
    </form>
    FF29 aligns the drop down at the left side and therefore, the content gets drawn outside the window.
    If you run the same HTML in Chrome, the drop-down gets aligned at the right side and therefore is completely visible.

    hello mc.iglo, bugzilla.mozilla.org would be the right place to file a bug report for firefox. thank you!

  • What are the security settings to lock down a form with fillable fields and yet allow someone with Reader to fill in the fields as will as save the form and print it?

    What are the security settings to lock down a form with fillable fields and yet allow someone with Reader to fill in the fields as will as save the form and print it?

    You want to allow someone to open your document and fill out the form (in the fields you have created), but not change or edit the form, right? Here's the answer - assuming you are using Acrobat Pro and someone will be opening the PDF using at least Acrobat Reader 9 and up:
    Tools > Protection > Encrypt < Encrypt with Password
    Answer YES to change the security.
    A new window opens:
         Do NOT select Document Open (or that will require a password to open the document.)
         Select: Permissions (Check the box next to "Restrict editing and printing of the document.")
         Change the following 2 settings from the drop-down box:
              Printing Allowed: Select High Resolution
              Changes Allowed: Select Commenting, filling in form fields, and signing signature fields
              Leave selected: "Enable text access for screen reader devices for the visually impaired"
              Change Permissions Password (insert a strong password)
              Leave all other settings alone in "Options"
              OK - OK
              Re-enter the Permissions Password (the one you entered above)
              OK - OK
              Save the PDF to apply the security [notice that (SECURED0 will appear after the document title]

  • Populate drop-down list from multiple text fields.

    Just to begin, I am brand new to this application and brand new to coding in general. Anyways, this is what I am trying to accomplish. I need to populate a drop-down list from multiple text fields. I am able to populate one item using this in the calculate event:
    TextField1.rawValue
    After I type text in TextField1 and hit enter, it displays the text in the drop-down list. I need to do this but with more than just one text field to populate more options for the drop-down list. I will also need to do something similar with populating a drop-down list from selections made in multiple other drop-down lists.
    Thanks for any help you can give me.

    Thank you for your suggestion Geo Kaiser. With that, I was able to populate my drop-down lists, but now when I select an option from the drop-down list, the selection dissapears. The selection will appear briefly in the box but then dissapears although my drop-down list options remain there. Here is the code I am using for my text field to drop-down list:
    DropDownList1.clearItems()
    DropDownList1.addItem(TextField1)
    DropDownList1.addItem(TextField2)
    And here is my code for my drop-down list to populate another drop-down list:
    DropDownList3.clearItems()
    DropDownList3.addItem(DropDownList1)
    DropDownList3.additem(DropDownList2)
    Thanks again for your help. By the way, I am using Adobe Designer 7.0.

  • Drop Down appearance for writeback column field

    How to display drop down appearance for writeback column field(set of values in drop down for that field in the Report UI)? Currently Writeback feature in 10g provides only text Box for writeback field.

    Not possible. Writeback is explicitely meant for specific updates and inserts and not for massive arbitrary record creation (official Oracle statement).

  • When I go to a drop down menu, for example bookmarks, I mouse over the text and it turns color with a dark bar; can this be fixed?

    I am running Firefox 5 currently. Ever since the last update to Firefox 4 and currently with firefox 5 I have had this issue. The dropdown menu is normal when it first drops down. When i move my cursor over the text in the menu it changes to a dark blue bar and remains that way until I close the dropdown, it resets until i dropdown and mouseover again. When I make a selection in the menu it works fine.
    I have also noticed that the buttons in the browser and in certain websites have a "sweetspot" you have to hit for the button to function. In past versions if you clicked anywhere on the graphical button it would function.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.
    * Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.

  • The drop down view by menu (Song, album, etc) at the right side of the iTunes window is like a ghost. It flashes into view for a millisecond once in awhile but never lets me click on it. Anyone know what this is about and what to do?

    The drop down view by menu (Song, album, etc) at the right side of the iTunes window is like a ghost. It flashes into view for a millisecond once in awhile but never lets me click on it. Anyone know what this is about and what to do?

    Short answer:
    Click Hide Song(s), it is what you wanted to do...
    Long answer:
    iTunes in the Cloud is a feature of your iTunes store account that allows you to redownload or stream your past purchases. When you delete a purchased track that is downloaded to your computer (like the first one shown here) you are asked if you also want to hide the song from iCloud. This would remove it from the computer and also stop it showing up with the iCloud symbol as the other tracks from that album (which are not downloaded) do.
    If a track shows with the cloud symbol you can play (stream) it by double-clicking the title, or click the cloud symbol to download a local copy to your library. If you try to delete one of these tracks you get a slightly different message confirming that you want to hide the track. Clicking hide will remove the listing from the library and any other device that shows your past purchases.
    Should you want to retrieve any item hidden in this way at a later date use Store > View My Account > iTunes in the Cloud > Hidden Purchases > Manage.
    To hide all your previous purchases that are not downloaded to your computer use Edit > Preferences > Store and untick Show iTunes in the Cloud purchases.
    tt2

  • When trying to launch facetime on mac, a message drops down that says "unable to verify email because it is already in use by another Apple ID". The mac tech things it's an itunes problem. Anybody?

    when trying to launch facetime on mac, a message drops down that says "unable to verify email because it is already in use by another Apple ID". The mac tech things it's an itunes problem. Anybody?

    You need to select the "Manage My Account" link and not the "Reset Your Password" link.  Once you use the "Manage My Account" it will ask you to log in and in there you should see which email addresses are verified.
    Manage My Account Direct Link:  https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/31/wa/directToSignIn? wosid=UqdNjJEj36wU900BTj4Hw0&localang=en_US
    I'm thinking this may help as well.  http://www.cultofmac.com/100524/imessage-supports-multiple-addresses-and-selecta ble-caller-id/
    Which is what I'm trying to do with my iPad and iPhone.  

  • When I type in "www" in the navagation space I get a drop down that shows all the web sites I have visited! How do I turn this off?

    # Question
    When I type in "www" in the navagation space of the home page I get a drop down that shows all the web sites I have visited! How do I turn this off? edit

    That drop-down shows matches from your History and/or Bookmarks. To change what is shown, see "Controlling Behavior" in this article:
    *https://support.mozilla.com/en-US/kb/Location%20bar%20autocomplete
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    **New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • How to configure drop-down that change dynamically in Call Scripts

    Hi,
    Would like to know as how to configure drop-down choices that change dynamically based on customer response in Call Scripts / Assessment Scripts of type "Service Request - Survey".
    I've read the following from CRM OnDemand pdf but was not able to figure out how to do that.
    Call Scripting:
    • Reduces agent training time
    • Provides drop-down choices that change dynamically based on customer response
    • Supports personalized interactions based on existing record data
    • Facilitates up-selling and cross-selling
    • Does not require third-party software
    I don't have a concrete requirement as of now, but was trying to check as how it works. Please guide me if any one has implemented the same.
    Thanks in Advance,
    Cheers!!!
    Deepak Veeravalli.

    Arun,
    If you plan to implement the "Querying the Active Directory" based on my code snippet,
    and if you do not have permission [your account must be the part of domain admin] to do so,
    Then still you can do it in least effort through code,
    string usersInXml = SPContext.Current.Web.AllUsers.Xml;your xml string look like this.
    <Users><User ID="2" Sid="" Name="Administrator"
    LoginName="i:0#.w|murugesan\administrator" Email="" Notes="" IsSiteAdmin="True" IsDomainGroup="False" Flags="0" /><User ID="1" Sid="" Name="Murugesa Pandian" LoginName="i:0#.w|murugesan\murugesan" Email="" Notes="" IsSiteAdmin="True" IsDomainGroup="False" Flags="0" /><User ID="1073741823" Sid="S-1-0-0" Name="System Account" LoginName="SHAREPOINT\system" Email="" Notes="" IsSiteAdmin="False" IsDomainGroup="False" Flags="0" /></Users>
    You can user Linq to XML to filter the "LoginName,Name and Email and then populate your drop down list.
    * User must be logged into the site at least once.
    Murugesa Pandian.,MCTS|App.Devleopment|Configure

  • Selecting an item in a Drop Down Menu to activate a field

    Hi,
    I'm using LiveCycle Designer ES to create a dynamic form and I wish to have an 'other' field appear when 'other' has been selected in drop down menu. I've worked out how to give each of the drop down items a Specified Item Value and use this to trigger the presence of the 'other' field. However I'm not sure which event to use to activate the presence code.
    Thanks in advance.

    You can write the code either in the change event of the dropdown or in the Exit event of the dropdown.
    If you use the change event use the below syntax..
         if(xfa.event.newText =="Other")
              fieldName.presence = "visible";
    If you are using the exit event use the below syntax..
         if(this.rawValue =="Other")
              fieldName.presence = "visible";
    Sample file is at the below location..
    https://acrobat.com/#d=QZS2WmRlvgjTIePj8a6mkQ
    Thanks
    Srini

  • The drop down list values want to vary based on the contents of another drop down field

    hi,
    hi in search page i have two drop down list. i have two tables and one mapping tables. service line and subservice line are tables and i have one mapping table. using rapid application i create one component using mapping table. now in search page i have two drop list. one is servline and another is sub serviceline. in service line i have values like 1,2 k  for subservice 3,4.5,6 for one service line ex. for 1 i have two subservice 3,4 and for 2 i have 5,6. now my requirment in if i choose service line 1 in first drop down list, automatically in second drop down list want to contain values 3, 4. before both the drop down list have values.if i chose one value the correponding mapping value want to come in drop down list in same context node.

    Hi,
    This requirement involves defining p-getter for the service type, and the v-getter of you sub type.
    Since this involves to populate the values of subtype attribute depending on value of service type, u need a round trip.
    This is done in the p-getter of the 1st attribute(service type in your case).
    In the v-getter of the 2nd attribute, 1st fetch the current value of attribute 1, then filter the value in the dropdown table according to ur logic.
    Ref :Drop down values in table view
    Regrads
    Anish

  • I updated my 2009 Mac to Mountain Lion yesterday but cannot add photos from my iPhoto library to contacts anymore. Drop down menu only shows "default, recent and camera" but I cannot get to iPhoto library.

    I upgraded my 2009 Mac to Mountain Lion yesterday but cannot add photos from my iPhoto library to contacts anymore. Drop down menu only shows "default, recent and camera" but I cannot get to iPhoto library. Help stated to choose Faces but I don't even get that far. How do I fix. Still works on iPad but not on Mac.

    When you have iPhoto and Contacts open and try to drag a picture for iPhoto to the Contacts photo frame do you get a + symbol? if not you should!  from there the the pop menu should appear and then you can select the picture and click on done
    Sample movie on how to

  • IMac - freezes or pauses intermittantly - usually for 2 or 3 seconds no matter what program is running - sometimes just touching a menu to get a drop down will take several seconds

    my iMac freezes or pauses intermittantly - usually for 2 or 3 seconds - no matter what program is running - sometimes just touching a menu to get a drop down will take several seconds - if playing music on iTunes or Spotify the music will pause for several seconds - it is not internet related because it happens when working off line - its become a major annoyance in using the compuetr - really slows it down - any suggestions?

    Run the Extented Apple Hardware Test from the original system disc that came with your iMac, as per > Intel-based Macs: Using Apple Hardware Test

  • Please help block my ipod touch second generation and forget the code, try putting the code so many times that now says connect to itunes, I connect but will not let me do anything that tells me this should unlock with key and I should do for Please help!

    please helpme i block my ipod touch second generation and forget the code, try putting the code so many times that now says connect to itunes, I connect but will not let me do anything that tells me this  should unlock with key and I should do for Please help!. thanks

    Place the iPOd in recovery mode and then restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

Maybe you are looking for

  • Blue boxes with question marks

    I am trying to use a site that is my WEbsite host and when I navigate to that site I get all of these little blue boxes wiht quesiton marks and it is usually the items like .. "click here"places that are inportant. I have tried to use IE and the same

  • The bottom of my white macbook callus

    Hi, The bottom of my macbook white callus was like rubberglued to the aluminum and I can not get prodrian desir grabbing me or where to get that part

  • Transparency issue flash please help

    Has anyone come across transparency problem with png's and animations in flash player 9.0.115.0 ? They seem to be showing a semi transparent white box around the png or animation is this an issue with the flash player or something else? transparency

  • ERROR: pif: can't load 'registry.sl'

    Hi all, I am trying to have a oracle server with tux 9.0 when I try to boot the server it throws a error and TMS_ORA fails to boot up and so the servers too. There was no errors when I was building TMS_ORA and when I try to boot I see some errors in

  • Mail-redirection from Gmail

    Hello, Although I use my imac mail app, i have my gmail account redirected to it. I have been unable to receive any messages for the last week. I'm wondering whether gmail has changed their incoming server details because i'm still receiving webmail