> Hey, If I get a free minute today, I can take a look at that
> Javascript...
> Just let me know if you get to it before I do...
Okay, thanks. Here is the function (1 of 3 nearly identical ones) that
handles the click on To or CC or BCC, found in file sm_js.cgi.
function validate1()
{
var i, index, address, j,len,flag=0;
i = document.SendMail.lstAddr.selectedIndex;
if (i == -1)
return;
if (document.SendMail.lstAddr.options[i].text == "--No
Addresses--")
return;
if (document.SendMail.to.value == "")
{
document.SendMail.to.value =
document.SendMail.lstAddr.options[i].text;
}
address = document.SendMail.to.value;
index = address.indexOf(document.SendMail.lstAddr.options[i].text,
0);
if (index == -1)
document.SendMail.to.value = document.SendMail.to.value + ',' +
' ' + document.SendMail.lstAddr.options[i].text;
return;
} // validate1
Ron
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.