Would you be able to help me figure out what I'm doing incorrectly.
I have a cascading drop down in a submission form that has multiselect enabled (Services).
What I want it to do, is that the values of the selected service, be copied to the Description Field as values separated by a comma.
Here is the scripts I'm using. It just generates a value of "undefined," so I know something is wrong, but I can't figure out what. Any help is greatly appreciated.
var x=document.getElementsByName("InsertRecordServices");
x[0].multiple=true;
document.getElementsByName("InsertRecordServices")[0].onblur = function ()
{
document.getElementById("InsertRecordDescription").value = document.getElementsByName("InsertRecordServices").value;
}