Cascading drop downs and XML

Hi,
I am working on a custom form and am quite new to Livecycle.
I would like to do something basic such as
country drop down (populated from an xml file)
province / state drop down (populated from xml file).
I was able to populate the country but am unsure how to proceed so that the province/state drop down is dynamically populated from an xml file as well.
Cheers
Henry

Sure here is a sample.
country.xml is
<CountryList>
     <Country>
          <Name>CANANDA</Name>
          <Code>CAN</Code>
     </Country>
     <Country>
          <Name>United States of America    </Name>
          <Code>USA</Code>
     </Country>
</CountryList>
province.xml is
<StateList>
     <State>
          <Name>Ontario</Name>
          <Code>CAN</Code>
     </State>
     <State>
          <Name>Quebec  </Name>
          <Code>CAN</Code>
     </State>
     <State>
          <Name>Oregon</Name>
          <Code>USA</Code>
     </State>
     <State>
          <Name>New york</Name>
          <Code>USA</Code>
     </State>
</StateList>

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

  • 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 from spreadsheet

    Hello,
    I need some assistance, I am creating a SP but I need to do a look up or cascading drop down using information from a spreadsheet from InfoPath.
    Can anyone guide me? All I can find info about is for cascading from a list, but it is a spread sheet
    Any tutorial or forum?
    Thanks,

    Hi,
    In addition to Hemendra’s suggestion, you can take a look at the link below about how to access Excel file which stores in a SharePoint Library using Excel Web Service with
    jQuery:
    http://martinezdeveloper.blogspot.jp/2011/07/sharepoint-2010-excel-rest-api-and.html
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Cascading Drop Down Menus

    Can cascading drop down menus be created in Acrobat XI Pro?  If so, how?

    Yes with JavaScript and popUpMenu method.

  • 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.

  • 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

  • I'm not techinal so please bear with me. I don't have the bar that allows me to type in a website. I did have a few minutes ago. When I make the page full screen and move my cursor to the top of the page, the bar drops down and I can use it.  help

    I'm not techinal so please bear with me. I don't have the bar that allows me to type in a website. I did have a few minutes ago. When I make the page full screen and move my cursor to the top of the page, the bar drops down and I can use it. I've tried restarting my computer, didn't work. Help!

    Well I figured it out, right click the arrow that makes the screen bigger and unclick the Hide Toolbar. I knew it couldn't be that hard.

  • Using the Current Function in a repeating table with cascading drop-downs

    I have a Repeating Table where a customer can choose the values for three cascading drop-downs. I then want the member to start a new entry with the same cascading drop-downs but with different results based on their most current input not
    based on all their input throughout the form.  I also do not want the current input to affect previous inputs replacing what was already entered.  
    Please assist.
    -Ben
     

    Hi,
    Based on your description, you don't want to meet the following issues:
    The first row returns back all the data from the list up to the value selected.
    Any new item added, replaces the value in the other items.
    Here is an article about InfoPath Repeating Table Lookup control on SharePoint List, refer to it:
    http://www.sumitrawat.net/2009/10/infopath-repeating-table-lookup-control.html
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/43253974-990d-4307-bf54-cc615618362a/issue-with-cascading-dropdown-in-a-repeating-table
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Presently using iMac: OS X 10.9.4 (13E28)  1. Open website; click drop-down and this appears:  Before viewing PDF documents in this browser you must launch Adobe reader and accept the end-user license agreement, then quit and relaunch the browser.  2. Usi

    Presently using iMac: OS X 10.9.4 (13E28)
    1. Open website; click drop-down and this appears:
    Before viewing PDF documents in this browser you must launch Adobe reader and accept the end-user license agreement, then quit and relaunch the browser.
    2. Using an iMac, open founder and click downloads
    3. Click AdbeRdr1013_en_US-1.dmg         Apr. 4 2012, 7:11 AM 73 MB Disk Image  Feb 27, 2013, 10:00 AM
    4. Screen indicates it is opening Adobe reader X installer.package
    5. Click this icon
    6. Open Adobe installer; double-click install Adobe reader; putting password to access; click next; Note: Application is already installed; click finish.
    Screen indicates: thank you and enjoy Adobe reader. Click Return to Prior Website. Click install now: total size 99.1 MB
    Initializing arises with the following information: to proceed, open your download folder and locate the Adobe reader installer file, named Adobe reader installer [ XXX].dmg
    It takes me back to steps that have already taken of locating down load file double-click to mount the disk image; double-click install Adobe reader; agreed by clicking open; entering name and password and clicking okay.
    Did this several times with no success.
      11.       www.forums.adobe.com

    Sorry if I failed to mention, I have done this as well.

  • Looking to create editable PDF forms with drop downs and text boxes for use on a Mac computer and iPad. Which product do I need to purchase? Do not need anything fancy

    Looking to create editable PDF forms with drop downs and text boxes for use on a Mac computer and iPad. Which product do I need to purchase? Do not need anything fancy

    Basically you would need Acrobat. However, it is now also possible to create basic form fields using just the free Reader. In fact, I've been working on a tool that allows you to do it, so if you're interested in it please contact me privately.

  • CSS Drop down menu; how to align the right edge of drop down and parent menu?

    Hello everyone,
    I have a drop-down menu that is currently working well.
    The only change I need to make is to have the right edge of the  drop-down menu to align with the right edge of the parent menu. When you  hover over the menu, it currently "drops" down and to the right, with  the left edges aligned.
    I want the menu to "drop" down and to the left, so the right edges are aligned.
    I have tried fiddling with floats and absolute/relative positioning. I'm not sure what needs to be changed.
    Any help you can provide is greatly appreciated! I'm learning via "cut and paste", so please go easy on any terminology you may use.
    Thank you!
    Here is my code:
    .chromestyle{
         width: 100%;
         font-weight: bold;
         float: left;
         height: 29px;
    .chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    .chromestyle ul{
    border: 0px solid #BBB;
    width: 100%;
    background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
    padding: 4px 0;
    margin: 0;
    text-align: right; /*set value to "left", "center", or "right"*/
    .chromestyle ul li{
    display: inline;
    .chromestyle ul li a{
    color: #000000;
    padding: 4px 7px;
    margin: 0;
    text-decoration: none;
    border-left: 1px solid #DADADA;
    .chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
    background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
    /* ######### Style for Drop Down Menu ######### */
    .dropmenudiv{
    position:absolute;
    top: 0;
    border: 1px solid #BBB; /*THEME CHANGE HERE*/
    border-bottom-width: 0;
    font:normal 12px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    width: 200px;
    visibility: hidden;
    .dropmenudiv a{
    width: auto;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
    padding: 2px 5px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    * html .dropmenudiv a{ /*IE only hack*/
    width: 100%;
    .dropmenudiv a:hover{ /*THEME CHANGE HERE*/
    background-color: #0000ff;
    color: #fff200;

    Try this:
    .chromestyle{
         font-weight: bold;
         height: 29px;
    .chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    .chromestyle ul{
    border: 0px solid #BBB;
    width:100%;
    background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
    padding: 4px 0;
    margin: 0;
    text-align: left; /*set value to "left", "center", or "right"*/
    .chromestyle ul li{
    display: inline;
    .chromestyle ul li a{
    color: #000000;
    padding: 4px 7px;
    margin: 0;
    text-decoration: none;
    border-left: 1px solid #DADADA;
    .chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
    background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
    /* ######### Style for Drop Down Menu ######### */
    .dropmenudiv{
    position:absolute;
    top: 0;
    border: 1px solid #BBB; /*THEME CHANGE HERE*/
    border-bottom-width: 0;
    font:normal 12px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    visibility: hidden;
    text-align:left;
    .dropmenudiv a{
    width: auto;
    display: block;
    border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
    padding: 3px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    * html .dropmenudiv a{ /*IE only hack*/
    width: 100%;
    .dropmenudiv a:hover{ /*THEME CHANGE HERE*/
    background-color: #0000ff;
    color: #fff200;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Problems with RH 9Printed Documentation not displaying some popups, drop-downs, and links

    I generate a Word document for reviewers. PrintedDoc properties include: Retain hyperlinks; Include drop-down text; Include expanding text.
    Sometimes the Word 2010 document includes hyperlinks, sometimes it doesn't.
    Popups typically don't work in the Word document.
    Drop-down and expanding text appear intermittently in the Word document.
    Has anyone experienced this and have a solution?
    Thanks.
    Carol

    I have never known hyperlinks to fail except in two situations.
    The target topic is not in the printed document. Obviously it cannot link to something that is not there.
    The hyperlink is a popup.
    Not sure what you mean by popups not working in a printed document. If you mean the links to them break, then see above. Known issue.
    I'm not sure why you are having the dropdown and expanding text problem as I have not known that to be an issue either. Is it always the same dropdowns that fail? Have you compared a good dropdown and a bad dropdown?
    Take a look at Printed Documentation on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Use checkboxes with drop down and submit button to pas values

    I have a form with six checkboxes, one drop down, and one submit button. I want the check box ON values to be appended to the hyperlinks stored in the drop down. The onclick event of the submit button sends the form results to a url with the checkbox values appended to the end of the hyperlink in the drop down. Need code please. Several programmers have bailed out on this when they got down to the event in the submit button. Can you Sun experts do better??? Here is the code for the form WITHOUT a properly programmed submit button and no javascript.
    <form name="jump">
    <select name="menu">
    <option value="http://www.whateversite.com/CP/View2Ref.php">Option 1 View 2 Test</option>
    <option value="http://www.whateversite.com/CP/AllNew.php?BK=Tap&CH=10&VR=20">option 2</option>
    <option value="http://www.whateversite.com/CP/AllNew.php?BK=Tap&CH=10&VR=20">option 3</option>
    <option value="http://www.whateversite.com/CP/AllNew.php?BK=Tap&CH=10&VR=20">option 4</option>
    </select>
    <input type="button" onClick="window.location.href=document.jump.menu.options[document.jump.menu.selectedIndex].value;
    " value="GO">
        <input type="checkbox" id="chkbx_TR_id1" name="TR" value="ON" alt="TRCheckbox" title="Search 1" tabindex="4">TR
        <input type="checkbox" id="chkbx_ES_id2" name="ES" value="ON" alt="ESCheckbox" title="Search 2" tabindex="4">ES
        <input type="checkbox" id="chkbx_NV_id3" name="NV" value="ON" alt="NVCheckbox" title="Search 3" tabindex="4">NV
        <input type="checkbox" id="chkbx_BT_id4" name="BT" value="ON" alt="BTCheckbox" title="Search 4" tabindex="4">BT
        <input type="checkbox" id="chkbx_SM_id5" name="SM" value="ON" alt="SMCheckbox" title="Search 5" tabindex="4">SM
        <input type="checkbox" id="chkbx_EN_id6" name="EN" value="ON" alt="ENCheckbox" title="Search Bible Encyclopedia" tabindex="4">ENThe resulting URL when the submit button is hit should be like this if all check boxes are checked.
    http://www.whateversite.com/CP/AllNew.php?BK=Tap&CH=10&VR=20&EN=ON&TR=ON&ES=ON&NV=ON&BT=ON&SM=ON&TR=ON"
    Thank you in advance for any replies.

    This forum is concerned with Java and not Javascript (they are not the same) . Though there are forum members who could help you on this you would probably do better to go to a Javascript forum.

  • I have an IPOD Touch 3rd Gen.  The volume while playing music will drop down and then right back up on some songs, all intemittenly. What causes this?

    I have an iPod Touch 3rd Gen. There is a problem with the volume dropping down and then right back up, intermittenly on various songs. If you rewind past that spot, it will not do it again.  It is not always the same songs.  What can I do to correct this issue?  I have tried a hard reboot on the iPod and the problem is still there.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

Maybe you are looking for