J
jr
There are two required fields, bu and error flag, also if zoneid is
selected they must also have a value for the zonenm . I am having
trouble figuring out where to return the 0 or the 1 so that it returns
false or true but I have the right conditions,
thanks,
function checkscript() {
if (ele.search_bu.value ) && (ele.search_error_flag.value )
{
if (ele.search_zoneid.value) && (!ele.search_zonenm.value)
else{return 0;}
}
else {return 1;}
</script>
selected they must also have a value for the zonenm . I am having
trouble figuring out where to return the 0 or the 1 so that it returns
false or true but I have the right conditions,
thanks,
function checkscript() {
if (ele.search_bu.value ) && (ele.search_error_flag.value )
{
if (ele.search_zoneid.value) && (!ele.search_zonenm.value)
else{return 0;}
}
else {return 1;}
</script>