I am trying to put add a validation condition to a combobox. I have been able to get it to work on other combo boxes, but here I am trying to essentially add 2 validaitons on one combobox. I am not familiar with how the whole validation process works and the order of operation. My code has become convoluted and need help sorting it out.
This is the code on the validation that I am working with:
functionvalidateSLBox(v){
if(storeSpringLync.findExact('disp',
v)>-1)returntrue;elsereturn'Notvalid';else{
if(v=='DC'){
cbSLBox.enable();
}else{
cbSLBox.disable();
}
}
}