Selection in a drop-down list

          Hi,
          is there a way in HTML or DHTML or Javascript or ActionScript to implement
          this:
          in a HTML page, I have a drop-down sorted list:
          <SELECT NAME="Code" size="1" >
          <OPTION VALUE="All">All
          <OPTION VALUE="AACC" SELECTED>AACC
          <OPTION VALUE="ABCDD">ABCDD
          <OPTION VALUE="ABK">ABK
          <OPTION VALUE="BCCC">BCCC
          <OPTION VALUE="CABC">CABC
          <OPTION VALUE="CBBB">CBBB
          <OPTION VALUE="DACA">DACA
          </SELECT>
          If I press the letter A, the drop-down list points directly to the first
          value in the list that
          starts with an 'A' ==> AACC
          If I press the letter C, the drop-down list points directly to the first
          value in the list that
          starts with an 'C' ==> CABC
          What i want is the possibility to type a second letter:
          If I press the letter A, the drop-down list points directly to the first
          value in the list
          of values starting with an 'A' ==> AACC and if i press 'B', this should
          point to 'ABCDD',
          and again if i press a third letter 'K', this should point to 'ABK'.
          How do i do this ? (in HTML or DHTML or Javascript or ActionScript or even
          Java/JSP/Servlet ?
          thanks
          

Yes there is no XTYPE default
But you can develope your own xtype , see example
http://dev.sencha.com/deploy/ext-4.0.0/examples/multiselect/multiselect-demo.html

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

  • Detail region does not refresh when selecting from a drop-down list in master region

    I am using DW CS3 and have updated to version 1.6.1 of Spry.  Using an XML dataset, I am able to create a Spry table as the master region that links to a detail region that displays a small JPG graphic.  It works fine in this format (clicking on a row displays the correct graphic).  However, my table has 80 rows and requires the user to do too much scrolling. So I changed the master region to a drop-down repeat list, but the graphic does not change when a new selection is made in the drop down list.  Listed below is the code produced when I used the insert Spry Repeat List.  I got the same results when adding a spry:setrow="dsChartNurse".  I also tried -- onclick="dsChartNurse.setCurrentRow('{ds_RowID}');" -- which again made no difference.
    When I removed children from the spry:repeat, the master region displayed as a two column list of all 80 items in a drop-down list format.
    <div spry:region="dsChartNurse">
           <select name="select" spry:repeatchildren="dsChartNurse">
             <option value="{name}">{name}</option>
           </select>
    </div>
    <div id="image" spry:detailregion="dsChartNurse">
       <img src="{dataimage}" align="center" style="margin:50px 0 0 0"width="320" height="164" />
    </div>
    Thanks so much to anyone who can help correct my code in order to have a drop-down list display information correctly in the detail region.

    Thanks for the quick reply.  I did solve the problem I was having by changing from onclick to onchange in the master region.  But, now I have another problem with, of course, IE.  I just put in online at http://www.minursemap.org/ageDistNurse.html.  When opened in IE, the drop down list displays the last entry, but the image is for the first in the list.  Thanks again for your help.

  • Using selected items from drop-down list in rest of page

    Hi,
    I hope I'm able to describe clearly what's the problem.
    So I'm implementing a form for the moment. It contains a drop-down list. The user has to select one item from it and as a result another drop-down list on the same page needs to be filled with a couple of options. I wanna do this without refreshing the page, cos else I have to retrieve all the values from boxes that were allready filled in. Is it possible?
    Greetings,
    Raf

    This cn be done with javascript. But you need to cache the data on first load of your jsp.
    regards

  • Email Select People From Drop Down List

    I am creating a form that sales reps fill out to go to one whole department and I have that all set with my email submit button.
    However I also need to form to go to one of 5 others based off their names in a Drop down box for who is a manager for a certain region. Since all 5 don’t need to be copied on all form submissions I want our sales reps to be able to select their manager from the drop down list to ultimately add their email address in the CC field when the forms is submitted.
    Is this possible?
    Thanks, Mike

    Ok,
    if you don't know scripting, then you can use this macro (requires Desiger ES2 or ADEP Designer).
    It will create the script for you.
    The only thing you have to do is to install the macro.
    http://thelivecycle.blogspot.com/2011/07/mailto-maker-macro.html

  • Selecting values in drop down list

    Iam trying to create the drop down list. I got some programs, creating these lists for both parameter and ranges on the selection screen using 'VRM_SET_VALUES' . What the user wants is when the selection screen is loaded, he wants to select from the list OR ENTER ANY DATA WHICH IS NOT THERE IN THE LIST. To be able enter any data other than what is there in the list is not working for me.
    plz help its urgent

    Do you want to do it clientside (DHTML/JS/DOM) or serverside (JSP/JSTL)? This is easy to do clientside, but as you're asking this issue in a JSP/JSTL forum ..

  • Open a new form based on the selection from the drop down list

    Good Morning Everyone,
    Can any one please advise how I can start to build the form that has a drop down list(DDL) to list other forms so the user can select one from the selection of that DDL to open a new form.
    e.g  A form in workspace ES3 with drop down list to list 3 forms: form1, form2, form3. When user select form1 from the DDL, then it will kick off the render servic to launch form1 in workspace ES3.
    Thanks in advance,
    HD

    Hi,
    I'm not surea about the data structure...Are there two ClassNodes, one for "VALVES" and one for "BOLTS"??
    and for scripting it is no good idea if the names of the attributes are value, don't know if this is your naming...
    but to access a node of the DATA view -->
    //var selection --> you have assigned "VALVES"
      var onodeCN =  xfa.resolveNodes("xfa.record.Classification.ClassNode[*].value");
    // get the node with the valves -->
                   for (var i = 0; i < onodeCN.length ; i++) {
                        if ( onodeCN.item(i).value == selection ) {
                                         //get the Leaves of Node VALVES
                                         var onodeVALS = xfa.resolveNodes("xfa.record.Classification.ClassNode[+i+].ClassLeaf[*].value");
                                         for (var j = 0; j < onodeVALS.length ; j++) {
                                           // insert values of Leave to 2nd drop down
                                XXX.addItem(onodeVALS.item(j).value, onodeVALS.item(j).value);
    ??works??
    norbert

  • Value need to select from the drop down list & should be save under Variant

    Hi,
    My requirement is that i need to display two values in drop down list of a selection screen. Between two values , one value will be display as a default value. During program execution user can choose any value from drop down list as per requirement and
    he can save this in a Variant.
    Next time if he choose data from Variant, but still he will be able to select any value from drop down list.
    For that i am using FM VRM_SET_VALUES. How can i make the changes to meet my requirement using this function module or any other suggestions will be highly appreciated.
    Thanks & Regards,
    Tutun
    Edited by: tutun nandy on Nov 19, 2010 12:21 PM

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    *https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • IPhone - iOS 8 - Multiple selection in optgroup drop down list

    Hi,
    I don't know if this issue has been reported, I am developing mobile website continuously, after updating to IOS 8.0.2. I have drop down list with optgroup, when I select an option it kept the last option selected( Two open is selected).
    Please see the attachments.
    Tested my website in IPad(IOS 8.0.2) works fine, It seems this only occurs in IPhone.

    Yes there is no XTYPE default
    But you can develope your own xtype , see example
    http://dev.sencha.com/deploy/ext-4.0.0/examples/multiselect/multiselect-demo.html

  • Selection Screen Bug :: Drop Down List.

    Hi
    I have created the following ABAP Report. I am new at this and I have just hit an issue. I have two drop down boxes linked to transactions. Now when I select a report from Drop Down 1 and click it it goes to the transaction. Now if I also have a selection in Drop Down 2 it actually runs both transactions.
    How can i fix this?
    Thanks
    Adeel
    REPORT TEST.
    *TYPE POOLS DECLARATIONS
    TYPE-POOLS: vrm.
    TABLES: sscrfields.
    *SELECTION SCREEN FIELDS
    *DATA: c(20) TYPE c.
    ***********SELECTION-SCREENS**********************
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-tt1.
    PARAMETERS: one(20) AS LISTBOX VISIBLE LENGTH 40.
    PARAMETERS: two(20) AS LISTBOX VISIBLE LENGTH 40.
    * ADD Afer 40 to show text "DEFAULT 'PLEASE SELECT'"
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK blk1.
    *********DROP DOWN SELECTION WITH DESCP******************
    AT SELECTION-SCREEN OUTPUT.
    PERFORM ONE.
    PERFORM TWO.
    *&      Form  ONE
    *       text
    FORM one.
      DATA: name  TYPE vrm_id,
          list  TYPE vrm_values,
          value LIKE LINE OF list.
      name = 'ONE'.
      value-key = '1 ::'.
      value-text = 'Stock Report'.
      APPEND value TO list.
      CLEAR value.
      value-key = '2 ::'.
      value-text = 'Open Sales Order Report'.
      APPEND value TO list.
      CLEAR value.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = name
          values          = list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    "ONE
    *&      Form  TWO
    *       text
    FORM two.
      DATA: name  TYPE vrm_id,
          list  TYPE vrm_values,
          value LIKE LINE OF list.
      name = 'TWO'.
      value-key = '1 ::'.
      value-text = 'AS Stock Report'.
      APPEND value TO list.
      CLEAR value.
      value-key = '2 ::'.
      value-text = 'AS Open Sales Order Report'.
      APPEND value TO list.
      clear value.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = name
          values          = list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    "TWO
    ***********LINKS TO ABOVE SELECTION**********************
    START-OF-SELECTION.
    IF ONE = '&IC1'.
      CASE one.
        WHEN '1 ::'.
          CALL TRANSACTION 'MB5L' AND SKIP FIRST SCREEN.
        WHEN '2 ::'.
          CALL TRANSACTION 'ZSOD'.
      ENDCASE.
    ENDIF.
    IF TWO = '&IC1'.
      CASE two.
        WHEN '1 ::'.
          CALL TRANSACTION 'MB52' AND SKIP FIRST SCREEN.
        WHEN '2 ::'.
          CALL TRANSACTION 'ZSOD'.
      ENDCASE.
    ENDIF.

    Hi Now try this one,.
    *TYPE POOLS DECLARATIONS
    TYPE-POOLS: vrm.
    TABLES: sscrfields.
    *SELECTION SCREEN FIELDS *
    DATA: c(20) TYPE c.
    **********SELECTION-SCREENS*********************
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-tt1.
    PARAMETERS: one(20) AS LISTBOX VISIBLE LENGTH 40.
    PARAMETERS: two(20) AS LISTBOX VISIBLE LENGTH 40.
    ADD Afer 40 to show text "DEFAULT 'PLEASE SELECT'"
    SELECTION-SCREEN SKIP. SELECTION-SCREEN END OF BLOCK blk1.
    ********DROP DOWN SELECTION WITH DESCP*****************
    AT SELECTION-SCREEN OUTPUT.
      PERFORM one.
      PERFORM two.
    *& Form ONE
    text ----------------------------------------------------------------------
    FORM one.
      DATA: name TYPE vrm_id,
            list TYPE vrm_values,
            value LIKE LINE OF list.
      name = 'ONE'.
      value-key = '1'.
      value-text = 'Stock Report'.
      APPEND value TO list.
      CLEAR value.
      value-key = '2'.
      value-text = 'Open Sales Order Report'.
      APPEND value TO list.
      CLEAR value.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = name
          values          = list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. "ONE
    *& Form TWO
    text ----------------------------------------------------------------------
    FORM two.
      DATA: name TYPE vrm_id,
            list TYPE vrm_values,
            value LIKE LINE OF list.
      name = 'TWO'.
      value-key = '1'.
      value-text = 'AS Stock Report'.
      APPEND value TO list.
      CLEAR value.
      value-key = '2'.
      value-text = 'AS Open Sales Order Report'.
      APPEND value TO list.
      CLEAR value.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = name
          values          = list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.      "TWO
    **********LINKS TO ABOVE SELECTION*********************
    START-OF-SELECTION.
      CASE one.
        WHEN '1'.
          CALL TRANSACTION 'MB5L'AND SKIP FIRST SCREEN.
        WHEN '2'.
          CALL TRANSACTION 'MM01'.
      ENDCASE.
      CASE two.
        WHEN '1'.
          CALL TRANSACTION 'MB52' AND SKIP FIRST SCREEN.
        WHEN '2'.
          CALL TRANSACTION 'MM01'.
      ENDCASE.
    Give the 1:: as 1 and 2:: as 2 it will work...
    Regards,
    Bharani
    Edited by: SeethaRamaiah Bharani on Dec 18, 2009 8:10 PM

  • Photoshop Elements 12 is failing to add the jpg extension to file names when I "save as" even though the jpg format is selected in the drop-down list

    I've just been following my normal workflow and all of a sudden my saved files don't have the jpg extension. I'm not having this problem in other photo editing software I use. I haven't changed any settings. Anybody else have this problem?

    The Local Settings folder is a hidden folder.
    (1) If the file appears in the Downloads manager (Tools menu or Ctrl+j), you can right-click it and use Open Containing Folder to get directly to it.
    (2) To be able to see hidden folders on Windows XP in general, try this:
    Open My Computer or Windows Explorer
    Tools > Folder Options > View tab
    Scroll down and look for the checkbox regarding hidden files and folders and unhide them.
    Hopefully this will resolve the issue. Any luck?
    (3) By the way, you may be able to save the images from the email message to a more convenient location by right-clicking the links and using Save Link As. (Before you open them for editing.)

  • The microsoft on-screen keyboard doesn't work with firefox. I try to enter type and it jumps around the page. I can't select anything on drop down lists.

    I tend to use the on-screen keyboard. For about two months I've been unable to type text in firefox. I can't use dropdown boxes. I have to text to notepad then copy and paste it. I realize this is hardly a critical issue but I've loved using firefox for years and am considering going to another browser if I can't resolve this.

    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    <BR>While you are in safe mode;<BR>
    '''''Firefox Options > Advanced > General'''''.<BR>
    Look for and turn off '''Use Hardware Acceleration'''.
    Restart FF. If there is still a problem, check '''caret browsing''' <F7>.
    It might have been turned on.

  • How can I select from drop-down list and jumping to selected subform?

    I using LC Designer ES2 vers 9. Developing XDP. How can I Select from a drop-down list the appropriate selected subform (jumping to the selected subform on the page)?
    drop-down list...A (jump to subform1)
                             B (jump to subform2)
                             C (jump to subform3)
    subform1
    subform2
    subform3
    ....end of form

    Hi,
    you cannot set focus on a subform but on a field, as only interactive objects can be focussed.
    From a dropdowns exit event the script will look this way:
    switch (this.rawValue) {
              case "A" : xfa.host.setFocus("form1.page2.field1"); break;
              case "B" : xfa.host.setFocus("form1.page2.field1"); break;

  • Unable to select IS from the drop down list in message mapping

    Hi,
    i  know that we can monitor 'Integration server' in message monitoring rather than choosing integration engine or adapter engine.
    But in our existing land scapes i am unable to select IS from the drop down list in message mapping.
    using PI 7.1 SP 08.
    please let me know that we need to set up additional configurations settings to select IS form drop down list.
    Regards,
    Pradeep A.

    Hi Pradeep,
    please let me know that we need to set up additional configurations settings to select IS form drop down list.
    There are no extra settings that needs to be done for this. I don't know whether you have noticed this, but IS option will only come up when you want to monitor the messages from the "Database" and not from the "Database overview" or "Archive".
    Regards,
    Neetesh

  • Populating 2nd drop down list based on the selection of the first using Access DB...

    I have a form that I would like to have the user select the first drop-down list as populated from a data source, but them have the subsequent selection choice dependent on the first. For instance, if they select "administration" for their division, the department numbers shown in the second box would only contain those with "Administration" listed as their division. I have all of this information in my Access table.
    I've seen this possible by storing all of the information in a script. i.e.- listing each division and department. The only problem is that we have over 300 departments and making any changes would be very tedious in an in-form script. Is there any way to have this automatically reference a table in Access?
    Thank you,
    Mike

    In the current version of the portal, it is not possible as you cannot do code-behind on postbacks. If you want more flexibility, you need to write your own front-end that uses the FIM Service webservices...
    Regards, Soren Granfeldt
    blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt

Maybe you are looking for