Email change from dropdown list

I have looked at the other threads on this subject and discovered I am a complete moron when it comes to doing this.
can anyone give me a step by step guide on what I need to do to my dropdown list.  if any of the first 5 options are choosen, then the email address will be set to A and any of the last 5 options choosen, email will be B.
I'm sure I am making this harder than it needs to be

The DDList has a selectedIndex property. This tells you which index was selected (not it is a 0 based index).
So you could write script on the exit event that would do something like this:
if (this.selectedIndex < 4){
     send email to userA
} else {
     send email to userB
paul

Similar Messages

  • Selecting a Role from dropdown list throws error

    Hi,
    I'm using CRM Web UI 7.0. I'm facing problem selecting a Role from dropdown list in the assignment block Roles in the screen Employee. The problem is that the dropdown list doesn't show any value on clicking and gives an error message "Error on page" at the bottom of page. The roles exist in the system and also I'm able to see them for Accounts screen & in the GUI.
    Kindly help.
    Regards,
    Shaili

    Hi,
    Just to add to this issue: WebUI-> Account Management-> Contacts-> Roles-> Edit list. When we try to add a role from dropdown in Firefox, it works fine but same throws an error in Internet Explorer related to some script.
    Did someone face similar issue and how was it solved?
    Regards,
    Shikha

  • When I use Thunderbird with Yahoo Groups, Google groups, and other email lists, I don't get a copy of my own emails back from the list (I do with Mail.app)...?

    When I use Thunderbird with Yahoo Groups, Google groups, and other email lists, I don't get a copy of my own emails back from the list. I *do* when I use Mail, so it seems like a Thunderbird thing. I'd really like to see my own emails come back to me in the conversation so that I know where my remarks fall in the discussion; it's very disorienting when you can't tell if your email has arrived at the list, or not. I can't seem to find the setting, and I've searched thru your help topics, etc., to no avail. Thanks.

    It's both gmail and mac.com email accounts, and it's all email lists -- including some privately hosted on servers, that are not Google groups, not Yahoo groups.
    I'm not sure what you mean by "saving a copy of your messages yourself" in Mail -- if I email to the lists with Mail on my laptop or iPad, I can see it on my desktop computer too, right in line with other email messages in the thread, after the list resends the message I've submitted. It's only Thunderbird that this "invisible posts" behavior happens, and it didn't use to happen this way. I used to get my emails posting right in the thread.

  • Insert symbol from dropdown list that requires font change

    I am trying to script the following:
    I have a dropdown list set to GDT font which contains symbols. (GDT font creates symbols with various lower case letters are entered)
    When selecting a symbol from the dropdown list, I want that symbol to be inserted into the textfield where I stopped typing text and the cursor is currently positioned. The text I typed is using the Myriad Pro font, so to insert the symbol, the script needs to change the font to GDT without affecting the text font that is already typed in the textfield, insert the GDT font symbol and then change the GDT font back to Myriad Pro so I can continue to type more text in Myriad Pro.
    If the script would just copy the symbol and the font it was created in, paste it where the cursor is position and then change the font back to the default (Myriad Pro), that would be great!
    This is for Design Engineering work to allow engineers to insert GDT symbols into the same textfield as their description is in.
    Can anyone help me with this script?

    Troubleshooting plugins
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
    Check and tell if its working.

  • Adobe Form Section is Not Showing When Value is Selected from Dropdown List

    Hello Experts
    We have this issue where an ADOBE FORM is embedded in a WEBDYNPRO APPLICATION. 
    When selecting a value from the dropdown field in the ADOBE FORM, some particular section in the ADOBE FORM is not shown.
    Here's the ADS and NW versions that we were using.  We are running on EHP5 landscape.
    - ADS - 7.3 SPS 3
    - NW 7.3 SPS 3
    PS. The same program is working in EHP4 correctly.
    Any idea on how to resolve this issue?

    This is a custom built form, the thing is we just upgraded our system to EHP5 and we are in the test phase. The same form works in system in EHP4.
    Based on the dropdown list selection, there are some sections in the form which are hidden previously will be shown now. when you change the country in the dropdown the new sections appear. The sections will not be visible before you select the couuntry from dropdown.
    Should I upgrade my Adobe live cycle designer version to a higher one?
    Thanks

  • Cannot select from dropdown list

    This is very weird. I am a long-time FF user. Suddenly, I find that I cannot select from a dropdown list. Clicking on the list shows all the options but moving the mouse doesn't change the highlighted option.
    Safe Mode - Didn't help
    New profile - Didn't help
    What is going on here? Please help. Thanks

    Troubleshooting plugins
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
    Check and tell if its working.

  • How can I select properties from dropdown lists using only the keyboard?

    Hi,
    I am using SAP Netweaver Studio and when modifying UI elements in views, I want to select the value for a property from the corresponding dropdown list in the Properties view using only the keyboard.
    When a property row is selected, "Enter" toggles to Edit mode, Alt+ArrowDown expands the list, but ArrowUp or ArrowDown directly selects the previous/next item list and changes to Selected mode.  Which key is used to navigate between the list items without selecting them immediately?
    Thanks a lot. I deal with lots of views and this would save me quite a few massage hours
    Maria
    Edited by: Maria Marinova on Feb 14, 2008 9:40 AM
    Edited by: Maria Marinova on Feb 14, 2008 9:40 AM

    Thanks Andrew. When creating an external table does it requires an access to SQL*Loader?
    CREATE TABLE dept_external (
       deptno     NUMBER(6),
       dname      VARCHAR2(20),
       loc        VARCHAR2(25)
    ORGANIZATION EXTERNAL
    (TYPE oracle_loader
    DEFAULT DIRECTORY admin
    ACCESS PARAMETERS
    RECORDS DELIMITED BY newline
    BADFILE 'ulcase1.bad'
    DISCARDFILE 'ulcase1.dis'
    LOGFILE 'ulcase1.log'
    SKIP 20
    FIELDS TERMINATED BY ","  OPTIONALLY ENCLOSED BY '"'
    deptno     INTEGER EXTERNAL(6),
    dname      CHAR(20),
    loc        CHAR(25)
    LOCATION ('ulcase1.ctl')
    REJECT LIMIT UNLIMITED;

  • Immediate Submit From Dropdown List Selection

    In JSF what is the best way to get the form to submit immediately when a dropdown list item is selected? I know I can use a JavaScript onchange="..." but just wondering if there is a more standard/cool way of doing this in JSF.
    Thanks!
    Vaughn

    No. Simply creating a ValueChangeListener won't do what he wants. When he used the term "immediately" he meant "as soon as the value changes" and not "immediate" in the sense of bypassing Faces lifecycles. This can be seen from his reference to "onchange=".
    The suggestion I am about to make solves one problem but creates another.
    In addition to valueChangeListener= "#{...}" and immediate="true", put onchange="submit()". This will execute your event as soon as the value changes BUT...
    Faces navigation doesn't work any more when you return a navigation target.
    How do we get Faces Navigation to keep working when we use "onchange" ?

  • Remove default value from dropdown list

    I am currently working with Acrobat XI Pro version. I want to know whether it is possible to remove the default value from a dropdown list.
    When the list has less than 4 items, it is possible to deselect the default value by pressing the whitespace below. However, when there are more items, this is not possible anymore.
    I have read that you should include a whitespace as item in the item list, however, then you will see an empty list item when people are working with the pdf which is not preferable.
    So, does anyone know how to remove the default value from a dropdown list?
    Thanks!

    Ok, I found a perfect workaround for my problem using FormsCentral for Acrobat. Here is what you should do:
    Step 1:
    -   Open FormsCentral
    -   Create New Form (Choose Blank Form)
    -   Click on the dropdown icon to create a new dropdown
    -   Fill in the list items by clicking on the edit (you also can add a label if you want)
    -   Click: File > Save as PDF Form...
    Step 2:
    -   Open the saved PDF (you now see a blank pdf with a dropdown menu)
    -   Click: Tools > Forms > Edit Form (when a popup shows that you should save a copy of the document in order to make changes, press "Save as a copy" and open the pdf copy file with Acrobat)
    -   Select the dropdown, copy the dropdown and paste it in the desired document
    Now you have a dropdown menu without a default choice. Keep in mind that you cannot edit the items in the dropdown, because a default choice will be chosen and you have to use the pdf copy file again. As long as you don't click on a list item, it doesn't choose a default choice.
    It is not a perfect solution, but it works for me.
    Good luck and thanks!

  • Calculating dynamic values from dropdown lists

    Hi all, here's the noob question of the day
    I'm creating an invoice form in LiveCycle Designer and I'm totally stuck at tax calculations:
    for each product you're able to choose between two tax percentages from a dropdown list and, at the end of the form, I want to show a total amount of each tax.
    product
    qty
    unit price
    vat
    net price
    red shoes pack
    2
    20$
    4%
    40$
    black shoes pack
    1
    25$
    4%
    25$
    white umbrella
    1
    10$
    7%
    10$
    total net price
    75$
    + TAX 4%
    2.60$
    + TAX 7%
    0.70$
    Total
    78.30$
    How can I set the + TAX 4% and + TAX 7% fields to grab their respective product rows?
    Sorry for my bad english.. I hope you get the question!

    You woudl have to look at each row inside of a for loop and then determine if that row had 4% or 7% tax. Then you coudl keep a running total of the tax for you calcultions such that when the for loop ended you would have the 4 and 7% totals calculated.
    Make sense?
    Paul

  • Giving users control of their own distribution list control to add or remove external email addresses from their list

    We are a Exchange 2010 SP3 shop, we have distribution groups (with over 200 email addresses ) from another email system which has only external email addresses (i.e [email protected] [email protected]  and so on …..)
    We want to import these groups into exchange. we called microsoft, they said create mail contacts for each address and put those in a Distribution Group.  I know this will work. 
    Our goal is to have the user create / maintain / add / remove external their own email addresses  (Not the IT department)
    There must be many companies whose requirements match ours. Are there third party tools that would handle creation of distribution list? 
    Any constructive advice would be greatly appreciated ! THank you

    I wouldn't give the ability to create contacts to everyone in the environment because it will become mess at some point of time and IT will have to jump to control it
    anyway so why don’t from the start...
    I would give this to certain people like Leads or Managers of the groups under certain IT Policy so it will be still under control and people
    will think before asking their superior to create them and someone gets responsibility to manage these contacts...
    Though here is the more specific article on how to delegate creating and editing contacts...
    Creating RBAC Role To Delegate
    Editing Contacts
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Javascript needed - need checkbox to check automatically based on selected item from dropdown list

    I am building a fillable form.  In this form, I have created items in a dropdown list.  Based on the item picked from the dropdown list, I need a corresponding checkbox to be checked.  I am certain there is an easy javascript to resolve my current problem.  Please assist.
    For example: dropdown list field (SubSupplier1) -   Demolition                            export value 2
                                                                                    Rough Carpentry Labor       export value 4
                                                                                    Rough Carpentry Material    export value 3
    I need the corresponding checkbox (SalesTax1) to automatically be checked when Demolition (export value 2) or Rough Carpentry Material (export value 3) is selected.
    Thank you,
    Jennifer

    Hi Jennifer,
    This should help you do what you need. Place it in the Custom Calculation property of the dropbox and select "commit selected value immediately" in the fields options:
    var drop = this.getField("SubSupplier1");
    var check = this.getField("SalesTax1");
    if ((drop.value == 2) || (drop.value == 3)){
    check.checkThisBox(0,true);
    else {
    check.checkThisBox(0,false);
    The code is asking if the export value of the field is either '2' or '3' and if so, check the box.
    Otherwise uncheck the box.
    If you don't want it to uncheck on other selections, remove the 'else' section of code.

  • Open tabbed panels from dropdown list option value

    I have about 10 tabbed panels on my page.
    I created a dropdown list, <option value></option value>.
    I need to open the specific panel when an option is selected from the dropdown list.  I know how to open tabbed panels by URL, a button, and a link on the same page.  But how do i open a tabbed panel from a dropdown list.  The <option value> in IE does not allow for onclick events in IE. 

    Yes and I have been trying to find that.  Right now I have it setup where the onchange event is "location = this.options[this.selectedIndex].value;">
    and then I have each<option> in the dropdown list with teh value=http://URL.com?tab=3#tabbedpanels1.
    It works but it isn't as dynamic as I would like.  When i select each option in the dropdown, it refreshes the page and opens the correct tabbed panel. Then the dropdown list is reset to the default value because the page refreshed.  I wanted to do this without the page refreshing, that way the dropdown list item remains at what I selected to open the tabbedpanel. and plus, I didn't want the page to refresh everytime but to just open the tabbedpanel the same way as if i made a button to open it.

  • Select value from dropdown list

    hi All,
    we have a bsp application MVC based, we have a dropdown list,  what we require is when user selects an entry from drop down list and presses a button, we want to select that value from drop down list and then pass it to the method that will be called when button is pressed event..
    I want to know two things
    1. How do i get the selected value from dropdown ?
    2. hw can i retain it to send it to method call in handle_event bit
    thank you all

    Hi,
    If your application is stateless you have to capture the selected value in do_handle_data and assign it to the controller class attribute and later use this value in do_handle_event directly.
    If your application is stateful, on your dropdownlist htmlb tag click F1 you can read the documentation which also shows how to capture the value of dropdownlist in do_handle_event. In the same documentation you can even find few samples provided and check those samples in your system.
    Hope this helps.
    Regards,
    Abhinav

  • Workflow: Select Reason for rejection from dropdown list.

    Hi all
        I have to create a step where the Manager has to select the
    Reason for Rejection from a dropdown list refering to a custom
    parameter table maintained from t-code sm30.
    Please post your suggestions on this.
    Thanks for your time,
    Mallik

    Thanks for your Reply,
       But It doesn't seem to work because It has to display a (table parameter) field containing the predefined Reasons for Rejection(dropdown list or more like search
    help) from which the supervisor has to select one and it has to be attached and sent as a mail.
    thanx

Maybe you are looking for

  • Getting weird error message when booting up our computer

    when booting up our iMac, we get a gray screen with an error message in 4 languages saying: "you need to restart your computer" upon restarting, we keep getting the same message. at the same time we noticed that the screen was very fuzzy... I re-star

  • Hp Photosmart C7280 won't scan but will print

    Recently my scanner stop working, when I try to scan I get an error message saying the HP Device was not found.  Try the following steps......and then try again.  I tried all the steps and I can't scan anything.  The device is online, it is working,

  • The source file encoding may be different with this platform encoding.

    I got the below error after I have upgraded my Iplanet from 4.1 SP3 to 6.0 SP5 so what seems to be the problem here ? The code is working perfect under 4.1 SP3. [02/Jan/2003:00:01:35] info (10457): JSP: JSP1x compiler threw exception org.apache.jaspe

  • XML file as datasource

    Hi All I want to read an xml file which contains all the requried data for presentation purposes. Is there any in which this file can be used a datasource and we can query this file to create different reports. From [this|Re: Can XML files be used fo

  • Installation of Oracle developer 10g with database 9i in single box

    I want to install Oracle developer 10g (Forms/Reports) with oracle database 9i. Can Forms/Reports 10g servers reside on the same box that holds the database 9i as well? Please provide me the solution for the same.