hi,can its possible to give validation to dialog list in javascrip(on change) and on that dialoglist i give dbcolumn
i send code also
in dialoglist i have to check uniqness for (10 dialog list field in one column)i write uniqness code on change
when i give validation code on change and dbcolumn also then its not working properly its showing validation only dbcolumn not working
any solution plz help
this is code of uniqness check in column
function checkblankforcrc()
{
var f=document.forms[0];
var arr=new Array();
for(i=1;i<11;i++)
{
for(j=i+1;j<11;j++)
{
a=eval('f.Crc_'+i)
a1=eval('f.Crc_'+j)
//arr[i]=a.options[a.selectedIndex].text
//arr[j]=a1.options[a1.selectedIndex].text
arr[i]=a.selectedIndex
arr[j]=a1.selectedIndex
if(arr[i] | arr[j] !="")
{
if(arr[i]==arr[j])
{
alert("Entry existing")
//a1.value="-Select-"
a1.selectedIndex="-Select-"
//a1.focus();
//a.options[a.selectedIndex].text.focus()
return false;
}
}
}
}