Creating cascading drop down boxes in SharePoint 2010 using one list

We have a support request form tied to a list that end users input data into which when submitted sends out an email.
Is it possible to create a drop down box on the form that limits the choices in the "subcategory" column, based on what is chosen in the "category" column.  
For instance in the category column we have SharePoint, Oracle, and Web Tools as choices. 
In the subcategory column we have items related to each category. We only want items that are related to the selected choice to appear in the subcategory drop down box. 
I see examples in InfoPath using "Multiple Lists" (one list for city, one for state, etc), but nothing using the same list.  I would rather not use multiple lists if possible. 
Anyone have any ideas?  Thanks.

Hi,
According to your post, you want to create a cascading drop-down list box using one list.
To achieve what you want, we can:
Create two fields(category and subcategory) in drop-down list box type in the form in InfoPath.
Add the list which contains the values of the category and subcategory columns to the form as an external data.
Right click the category field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
Choose the list added in step2 in Data source, click XPath behind Entries, click the category column in the list, select Show only entries with unique display names.
Right click the subcategory field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
Choose the list added in step2 in Data source, click XPath behind Entries, click the subcategory column in the list, then click Filter Data.
Click Add, select the category column in the list in the first box, select is equal to in the second box, choose select  a field or group in the third box, then choose Main in the Fields and select the category field in the form.
Click OK.
Best regards.
Thanks

Similar Messages

  • SharePoint Hosted App - Creating cascaded drop down on hosted web lists

    Hi,
    I have created an SharePoint Hosted App(Javascript Object Model) that creates lists on the host web.
    I need to put some javascript into new and edit forms in order to create the cascaded drop down effect on 2 lookup fields.
    Can you please give me some advise?
    Regards,
    Marian

    Hope below article should help you
    http://blog.pentalogic.net/2010/11/editing-the-sharepoint-list-item-menu-part-2-using-javascript/
    http://www.getinthesky.com/2014/03/hide-text-field-sharepoint-form-using-jquery/
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/030471b2-d19a-470f-9a9e-0fd8a229138b/how-do-i-create-a-new-item-form-that-allows-to-save-and-continue-editing?forum=sharepointcustomizationlegacy

  • How to create a drop down box and text box in screen painter?

    Hi i am totally new to this concept of screen painter..please can any tell me
    how to create drop down box in screen painter?
    How to create or display default date and time values?
    How to create text box for giving comments?
    How to store the records that we are entering in a table?
    Please can any one send me the procedure for creating all these its very urgent useful information will be surely rewarded.

    Hi,
    Check all these.
    1.how to create drop down box in screen painter?
    To get Drop Drown Box on screen .
    Follow these steps.
    1.
    Go to T.Code SE51 and Select Laypout for the Screen.
    2.
    Double click on the field for which u want Dropdown box.
    3.
    Then U will see Name ,Text ,DROPDOWN.Click on that and select List Box or ListBox with key . Better to to select first one.
    4.
    Save and Activate ur screen .
    5.
    Enter the following piece of code in the PBO of the screen.(Change for ur requirement).
    6.
    The following code should be written under PROCESS BEFORE EVENT in the MODULE.
    TYPE-POOLS :vrm.
    DATA:
      i_natio TYPE vrm_values, "-->Table that is passed through FM vrm_set_values
      w_natio LIKE LINE OF i_natio.
    DATA:
    BEGIN OF i_t005t OCCURS 0,
        land1 TYPE t005t-land1,
        natio TYPE t005t-natio,
    END OF i_t005t.
    IF i_t005t[] IS INITIAL.
      SELECT land1 natio
         FROM t005t
           INTO TABLE i_t005t
       WHERE spras = sy-langu.
      IF sy-subrc = 0.
      LOOP AT i_t005t .
          w_natio-key = i_t005t-land1.
          w_natio-text = i_t005t-natio.
          APPEND w_natio TO i_natio.
          CLEAR w_natio.
      ENDLOOP.
      ENDIF.
    ENDIF.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
                          id = 'I_IT0002-NATIO' "-->Field for which dropdown is needed.
                    values = i_natio
    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.
    2.1.How to create or display default date and time values?
    1.
    create input field for DATE and TIME on screen.ex. DATE1 and TIME1 are screen field names .
    2.
    Just assign SY-DATUM to DATE1 and SY-UZEIT to TIME1 under PROCESS BEFORE EVENT.
    3.How to create text box for giving comments?
    1.
    Define one variable in the TOP include with type STRING means Global variable.
    2.
    Create one input field by giving screen field name which u have defined in the above step.
    4.How to store the records that we are entering in a table?
    For this case.. Create one table control. you can select one record and create record in the Z table by pressing button on Application toolbar..
    Check the following steps to handle Table control.
    1).
    U should take one variable in your internal table or in structure which
    is used for table control fields
    ex :
    data :
    begin of itab occurs 0 ,
        mark type c , "This is to select the record.
        matnr like mara-matnr ,
        matkl like mara-matkl,
        maktx like makt-maktx,
    end of itab .
    Controls: TABC types TABLEVIEW using screen 100.
    2).
    This mark variable should be given in Table control properties.
    follow the path
    double click on the table control-->attributes .->select
    w/SelColumn and in that itab-mark. Check in the figure.
    [Table control properties screen|http://bp2.blogger.com/_O5f8iAlgdNQ/R99gOUH8CXI/AAAAAAAAA9I/d3gOum1fJ6s/s1600-h/pic28145-796618.jpg]
    3).
    After that. Take this example.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT ITAB WITH CONTROL tabc
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    LOOP AT ITAB.
       Module read_table_control.
    ENDLOOP.
    module user_command_0100.
    In this Module read_table_control, You should write the following code
    MODULE read_table_control INPUT.
    MODIFY itab INDEX tabc-current_line."( This will update the
    "ITAB table MARK field with 'X ' whatever we have selected
    "on table control.)
    ENDMODULE.
    4)
    If you want to Delete some of the records from Table control
    follow this code …Create one pushbutton and give Fucnction code to that
    and write below code
    CASE OKCODE.
    WHEN 'CREATE'.
    LOOP AT itab WHERE mark = 'X'.
    "Use UPDATE statement to create new record.
    ENDLOOP.
    ENDCASE.
    I hope that you will get something.
    Regards,
    Venkat.O

  • How to create a drop down box values on design time?

    Hello,
    I have a drop down box that I would like to edit on design time to have the valus 1 to 10.
    Is it possible to doo it on design it or do I have to create a loop in the code to do that?

    See go to LocalDictionary->Data Type-> SimpleType Right Click and create a Simple Type giving some Package Name
    Once u have created
    There u will see Enumeration Tab and give Key Value Pairs by pressing New Button
    Now Create a Context Attr and at Type property select that three dots
    Then go to Dictionary Simple Type and select the Package u have given
    then select the Simple type u have created
    Then assign the context Attr to the UI Element
    Message was edited by: krish kanth

  • How do i create a drop-down menu in SharePoint that redirects to a new page?..

    Helly everyone, i have a question and really hope someone can help me out here:)
    In SharePoint i want to create a drop-down menu that has the possibelty to redirect to other websites.
    I fount the code below and it works but just not in SharePoint:(
    It only shows the drop-down list but it doesn't redirect you to another website if you click on a site.
    Can someone please help me out because it's really getting frustrating.
    <form method="post" action="" name="">
    <select name="select15" onChange="window.open(this.options[this.selectedIndex].value,'_parent')">
    <option selected>Please Select Site to Visit</option>
    <option>---------------------------------------------------</option>
    <option value="http://leedssocialclubs.co.uk">Leeds Social Clubs </option>
    <option value="http://yahoo.co.uk">Yahoo </option>
    <option value="http://msn.com">MSN </option>
    <option value="http://Moonfruit.com">Moonfruit </option>
    <option value="http://burystaffhire.moonfruit.com/#/home/4548482603">Bury Staff Hire</option>
    </select>
    </form>

    <form>
    <select name="URL" onchange="window.location.href=this.form.URL.options[this.form.URL.selectedIndex].value">
    <option value="">Choose a site</option>
    <option value="http://webdesign.about.com/">Web Design Front Page</option>
    <option value="http://webdesign.about.com/library/beginning/bl_begin.htm">
    Beginning HTML</option>
    <option value="http://webdesign.about.com/od/javascript/">JavaScript Help</option>
    </select>
    </form>
    Demo url
    http://webdesign.about.com/od/examples/l/blfaqddredirect.htm
    script url
    http://webdesign.about.com/od/javascript/a/aa050701a.htm
    For me it is working fine

  • I typed my username and then my password for an account into the username field accidentally. now i start to type username and drop down box gives option of using this to fill username field. how do i get it to stop?

    When start to enter username ("un")for an account that I use firefox suggests previously typed ones in drop down box. Accidentally typed a password next to my un, now everytime i begin to type un this presents as option i can click on to fill un field. If someone else wanted to login to own account on my comp firefox would show this. not secure. suggestions?

    Remove saved Password(s): [http://kb.mozillazine.org/Menu_differences Firefox > Preferences] > Security: Passwords: "Saved Passwords" > "Show Passwords"
    * http://kb.mozillazine.org/Deleting_autocomplete_entries

  • How to create Drop Down box in screen painter..??

    Can anybody give me sample code or detailed description about creating Drop-Down Box in a screen...??
    I have created the drop down box in screen..
    But how to make data to be visible in Dropdown box, when i click the drop icon in that box...???
    Regards
    Pavan Sanganal

    Here are couple of DEMO programs for the same functionality
    DEMO_DROPDOWN_LIST_BOX       
    DEMO_DYNPRO_DROPDOWN_LISTBOX 
    You execution sequence will be PBO - Process before output, then the screen is displayed and the PAI Process after input.
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • How to make choices in a drop down box change a value in another box

    Hi,  I am fairly new to the world of creating forms in Adobe so please bear with my question if it seems simple.  I have seen where a lot of people are using code and I am very confused.  I am creating an order form and have created a drop down box (combo box).  There are 4 choices in this drop down box.  When the user chooses one of these choices, I would like an amount to appear in a seperate box.  Each choice would have a different amount.  Is this possible?  If so, could someone please give me step by step instructions.  I appreciate any help given!!

    Yes, the best way would be to set your 'Amount' value into the 'Export Value' for each item in the combobox. Then, you can set the calculation for your text field to the following (Be sure to change "ComboBox1" to the name of your combobox):
    var f = this.getField("ComboBox1");
        var a = f.currentValueIndices;
        var s
        if (typeof a == "number") {// a single selection
            s = (f.value);       
    event.value =  s

  • 11g write-back drop down box

    Hi, I have enabled write back in OBIEE 11g dashboard. I would like to know if it is possible to create a drop down box within the write-back enabled column?

    I realize this is a very old thread, but I was hoping there was a way to do this.
    I would like to enable write-back to an a table we use to track running processes. I would like to be able to update the status to either 'COMPLETE' or 'INCOMPLETE'. The programs can change theses statuses to anything meaningful, but I only want those two values as options for write-back.
    Is this even possible?

  • Cascading drop downs

    hi,
    how  to create cascading drop downs in vc
    i have two queries each providing data to their respective drop down.
    drop down 1 - material group
    drop down 2 - material number
    when i select value in drop down 1 i want to filter drop down 2
    i want to see material numbers of selected material group.
    how to get this.
    please suggest me.
    Edited by: venkat s on Jan 29, 2008 2:44 PM

    OK - this is a real puzzle. I have a model with dropdown #1 and #2 in separate views where the content of #2 is filtered by #1.
    The deployed runtime version of this model actually work as desired. #2 is reset to default for every new value chosen in #1.
    Then, I've made changes to the model, and suddenly #2 behaves as you described - keeping the last value chosen and not returning to default - unless application is reloaded.
    So, I've gone back to an older version and tried to duplicate the #2 drop down with exactly the same values, and here is the strange part: the two drop downs behave differently in the same model.
    The only thing I have found is related to Prashant's wizard tip: at one stage in development my model had two layers. If I open this model version and take away all layers completely the #2 drop down looses it's desired behaviour. I have therefore kept one layer with all model forms and tables, removed all wizard navigation so the application looks like it's not using layers at all.
    The strangest thing though is that if I add a duplicate #2 again in this layer-model it won't work as the original. I simply cannot find a logical answer to this problem now. When I do, I will update.
    Another thing: For the #2 drop down that works as desired I cannot see the entry list configuration anymore. I originally chose a dynamic list type, but when I open it now it's showing the global variant with no global list defined! (this must be a bug as if I don't touch this config it still running as a dynamic list when deployed).
    If you (or anyone) solve it first, please tell us!
    Henning Strand
    Edited by: Henning Strand on Jan 30, 2008 11:13 AM

  • Cascading drop down

    Hi,
    I want to create a cascading drop down. The view object for the drop down contains two bind variables. In the JHeadstart application definition I fill one bind variabele with text (this is for finding the correct domain in the underlying table) and one with an unchangable item of the master screen. This item is always filled and is already filled while entering the screen.
    This drop down works fine in one application module, but if I create the same domain in another application module on both places this isn't working anymore. Of course the name of the item that I bind is changed for the second application module. Both application modules are children of one top application module which contains the view object for the drop down.
    I allready tried if I create several view object instances on the child application module level but this also does not work.
    What am I doing wrong (I followed the steps creating cascading drop down lists in the JHeadstart guide).
    Marianne

    Also this problem did arrise because the domain names in the application definitions are not unique over the application modules.

  • Drop down box data is not saving in Adobe form.

    Hi Experts
    We are struggling in one pirticular issue to resolve. Please help me to resolve the below issue.
    1. We have created the adobe form using jave script. and make some entires are dynamic.
    2. We have created another drop down box having the vlaues of YES, NO. When YES there are some other drop down list and when No there are some other drop down lists.
    3. The options are working fine and drop down lists are showing all the values when download the form to local PC.
    4. When we try to enter the data into the drop down list and save and close it. When you re-open the form the saved data dissapering.
    This is the very critical issue for us. Kindly help me to resolve this issue. If  required further more information please let me know.

    Hi,
    Make sure that you have binded a context value to default binding for drop down box.
    Regards,
    Chandran S

  • Cannot save selections in a drop down box

    Hi, I originally posted this in the'Acrobat Windows' section but was told to post here instead.
    I created a snazzy form in Adobe Designer 7.0.  This form had drop down boxes with 3 or 4 selections in them.
    When I open AA 7 Pro and fill the form out, it won't save the drop down box entries.
    For example:
    One field is just a text entry, so I'll enter "20,000".  The next field has 3 selections "Diesel, Gasoline, Kerosene"; I will select Diesel.
    I will save, close and reopen that file.
    The "20,000" will be there, but it won't save the "Diesel".
    So what gives?  Is it me?

    Have a look at the bindinng tab of the fields that do not show up and make sure that they are NOT set to None. Look at a
    field that is being saved. Is it set to Normal? If it is set all the fields that you want saved to Normal.
    Paul

  • Email Submit button linked to drop down box.

    Hello.
    I have a form that needs to go to multiple people depending on what ministry they work for. I have created a drop down box that has the ministry list. Is there a way, to either create a button on the fly, or to create an if/else statement to format the submit button or any other type of button, check box, etc. So that when the user selects the ministry that button is formatted with the correct email address???
    The other part of my question is can you change the name of the PDF file that is being submitted, right now mine just submits as a randomly generated file name? Can I have all the PDF's be emailed as PDF123.PDF, or something??
    HELP...
    Thanks.
    Mike

    It might be possible.
    1. Set your drop down list Ministry names to the email values that you need in the Binding tab.
    2. In the button that you create as the submit create a JavaScript that executes something like the following:
    //BEGIN CODE
    //Note the path of the field will be different.
    var oMinistry = (F.P1.Ministry.rawValue);
    var oBody = "The email body"
    event.target.submitForm({cURL:"mailto: "+oMinistry+"?subject=Case Submission"+"&body="+oBody, cSubmitAs:"PDF", cCharset:"utf-8" });
    //END CODE
    Rocky

  • My account doesnt appear in the drop-down box

    Hello!
    i forgot a password to one of my accounts (navladaster) and now im trying to get a new one using my email. i receive token and a security code, but when i enter it, the account i need doesnt appear in the drop-down box. This account used to be connected to another email address, though i remember changing the email on that account successfully. is there any way to get a new password now or at least to check to what email address it is connected now if didnt pay for skype services?
    Thank you so much!
    navladaster

    using another account, open the Add a Contact window and enter the possible email address/es that you may have registered in that account in the email address field.  Once you entered the right email address, the results will show the username of the account in question.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

Maybe you are looking for