<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Franklin Gothic Medium";
panose-1:2 11 6 3 2 1 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="3074" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Yay! Fixed it myself.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I had to change the following files so that the full select ID of the master select gets passed to the filter_cascade function rather than just the first selected element. It means we can then loop through all of the selected options, and fully populate the cascaded select. I’m sure the logic in filter_cascade could be more succinct but it works for me </span><span style='font-family:Wingdings;color:#1F497D'>J</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>- In File share/html/Elements/EditCustomFieldSelect<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><script type="text/javascript"><!--<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'>doOnLoad( function () {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var basedon = document.getElementById('<% $NamePrefix . $CustomField->BasedOnObj->id %>-Values');<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if (basedon != null) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var oldchange = basedon.onchange;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> basedon.onchange = function () {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> filter_cascade(<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> '<% $id %>-Values',<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> '<% $NamePrefix . $CustomField->BasedOnObj->id %>-Values',<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> 1<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> );<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if (oldchange != null)<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> oldchange();<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> };<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> basedon.onchange();<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'>});<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'>--></script><span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>- In File share/html/NoAuth/js/cascaded.js replace the whole filter_cascade function with:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'>function filter_cascade (id, masterid) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var select = document.getElementById(id);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var complete_select = document.getElementById(id + "-Complete" );<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var master_select = document.getElementById(masterid);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:black;mso-highlight:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if (!select) { return };<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var i;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var m;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var children = select.childNodes;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:black;mso-highlight:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if ( complete_select ) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> while (select.hasChildNodes()){<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> select.removeChild(select.firstChild);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:black;mso-highlight:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var complete_children = complete_select.childNodes;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var master_children = master_select.children;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var have_no_value_option = false;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:black;mso-highlight:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> for (m in master_children) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> // we only want to continue if the option is selected<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if (!master_select.options[m].selected) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> continue;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:black;mso-highlight:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> var val = master_select.options[m].value;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:black;mso-highlight:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if ( val == '' && arguments.length == 3 ) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> // no category, and the category is from a hierchical cf;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> // leave this set of options empty<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> } else if ( val == '' ) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> // no category, let's clone all node<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> for (i in complete_children) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if ( complete_children[i].cloneNode ) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> new_option = complete_children[i].cloneNode(true);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> select.appendChild(new_option);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> else {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> for (i in complete_children) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if (!complete_children[i].label ||<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> complete_children[i].label.substr(0, val.length) == val ) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if (complete_children[i].label == '') {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if (!have_no_value_option) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> have_no_value_option = true;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> } else {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> continue;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if ( complete_children[i].cloneNode ) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> new_option = complete_children[i].cloneNode(true);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> select.appendChild(new_option);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> else {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'>// for back compatibility<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> for (i in children) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if (!children[i].label) { continue };<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if ( val == '' && arguments.length == 3 ) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> hide(children[i]);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> continue;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> if ( val == '' || children[i].label.substr(0, val.length) == val) {<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> show(children[i]);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> continue;<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> hide(children[i]);<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'> }<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'>}<span style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Hope this works for you. It did for me on RT 3.8.10 </span><span style='font-family:Wingdings;color:#1F497D'>J</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Cheers<o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td rowspan=9 valign=bottom style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><img width=115 height=135 id="_x0000_i1031" src="cid:image001.jpg@01CC222B.515E1480" alt="http://emailsignature/form/Telecom_spark.jpg"><o:p></o:p></span></p></td><td width=18 rowspan=9 style='width:13.5pt;padding:0cm 0cm 0cm 0cm'></td><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'> <o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>Terry MacDonald</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>Senior Systems Support Specialist - Security </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'> </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td width=16 valign=top style='width:12.15pt;background:white;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>T</span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>+64 9 302 7816 (extn 99816)</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td width=16 valign=top style='width:12.15pt;background:white;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>M</span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>+64 27 207 0688</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td width=16 valign=top style='width:12.15pt;background:white;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>F</span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>+64 9 379 4790</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td width=16 valign=top style='width:12.15pt;background:white;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>E</span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>terry.macdonald@telecom.co.nz</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'> <br>Level 9, Mayoral Dr Bldg, 31 Airedale Street<br>Auckland <br></span><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>Twitter: </span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'><a href="http://twitter.com/@telecomnz"><span style='font-family:"Times New Roman","serif";color:#4D4D4F'>@telecomnz</span></a><br></span><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'><a href="http://www.telecom.co.nz/"><span style='font-family:"Times New Roman","serif";color:#4D4D4F'>www.telecom.co.nz</span></a> </span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D;display:none'><o:p> </o:p></span></p><table class=MsoNormalTable border=0 cellpadding=0 width="99%" style='width:99.0%'><tr><td style='padding:.75pt .75pt .75pt .75pt'><div class=MsoNormal align=center style='text-align:center'><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><hr size=2 width="100%" noshade style='color:#818386' align=center></span></div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><br></span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002. </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] <b>On Behalf Of </b>Terry MacDonald<br><b>Sent:</b> Friday, 3 June 2011 6:31 p.m.<br><b>To:</b> rt-users@lists.bestpractical.com<br><b>Subject:</b> [rt-users] Cascading Multiple Selects<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div style='border:solid #C3D4E5 1.5pt;border-bottom:solid #C3D4E5 1.0pt;padding:4.0pt 4.0pt 4.0pt 4.0pt'><p class=MsoNormal style='background:#DAE5F2'><span style='font-size:10.0pt;font-family:"Franklin Gothic Medium","sans-serif";color:black'>* PGP Signed: 3/06/2011 at 6:30:58 p.m.<o:p></o:p></span></p></div><div style='border-top:1.0pt;border-left:1.5pt;border-bottom:1.0pt;border-right:1.5pt;border-color:#C3D4E5;border-style:solid;padding:14.0pt 14.0pt 14.0pt 17.0pt'><p class=MsoNormal>Hi All,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We’re using rt 3.8.10 and I was wondering if anyone had managed to get cascading multiple selects working? What we have are two select boxes that both allow multiple selections, and we want one to cascade all selected categories to the other. At the moment only the first selected option in the first combobox is cascaded to the second combobox, even though multiple options are selected in the first combo box..<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Maybe a picture will explain this better. In the example below I have selected just the first item in Agent Source (External), and it correctly cascades the two example options (External 1 and 2):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img border=0 width=245 height=178 id="Picture_x0020_2" src="cid:image002.png@01CC222B.515E1480"><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Same with if I select the second item in Agent Source (Internal) – it correctly cascades the two Internal options to the Agent Type:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img border=0 width=235 height=175 id="Picture_x0020_5" src="cid:image003.png@01CC222B.515E1480"><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The problem arises when I need both categories cascaded to the Agent Type. Only the first category is populated:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img border=0 width=233 height=177 id="Picture_x0020_8" src="cid:image004.png@01CC222B.515E1480"><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Has anyone else struck this? Any ideas on how to fix it? I’ve trolled the rt-users archives and can’t find anyone else who has the issue. Any pointers would be appreciated.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers<o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td rowspan=9 valign=bottom style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><img border=0 width=115 height=135 id="Picture_x0020_1" src="cid:image001.jpg@01CC222B.515E1480" alt="http://emailsignature/form/Telecom_spark.jpg"><o:p></o:p></span></p></td><td width=18 rowspan=9 style='width:13.5pt;padding:0cm 0cm 0cm 0cm'></td><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>Terry MacDonald</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>Senior Systems Support Specialist - Security </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'> </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td></tr><tr><td width=16 valign=top style='width:12.15pt;background:white;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>T</span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>+64 9 302 7816 (extn 99816)</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td></tr><tr><td width=16 valign=top style='width:12.15pt;background:white;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>M</span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>+64 27 207 0688</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td></tr><tr><td width=16 valign=top style='width:12.15pt;background:white;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>F</span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>+64 9 379 4790</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td></tr><tr><td width=16 valign=top style='width:12.15pt;background:white;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>E</span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'>terry.macdonald@telecom.co.nz</span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#4D4D4F'> <br>Level 9, Mayoral Dr Bldg, 31 Airedale Street<br>Auckland <br><b>Twitter: </b><a href="http://twitter.com/@telecomnz"><span style='font-family:"Times New Roman","serif";color:#4D4D4F'>@telecomnz</span></a><br><b><a href="http://www.telecom.co.nz/"><span style='font-family:"Times New Roman","serif";color:#4D4D4F'>www.telecom.co.nz</span></a> </b></span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";display:none'><o:p> </o:p></span></p><table class=MsoNormalTable border=0 cellpadding=0 width="99%" style='width:99.0%'><tr><td style='padding:.75pt .75pt .75pt .75pt'><div class=MsoNormal align=center style='text-align:center'><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><hr size=2 width="100%" noshade style='color:#818386' align=center></span></div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><br><span style='color:#4D4D4F'>This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002. </span><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div><div style='border:solid #C3D4E5 1.5pt;border-top:solid #C3D4E5 1.0pt;padding:4.0pt 4.0pt 4.0pt 4.0pt'><p class=MsoNormal style='background:#DAE5F2'><span style='font-size:10.0pt;font-family:"Franklin Gothic Medium","sans-serif";color:black'>* Terry MacDonald <terry.macdonald@telecom.co.nz><br>* 0x4E0BA852<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p></div></body></html>