Function order_onsubmit()
dim returnVal
if order.License.value = "" and order.State.value = "CA" then
order_onsubmit = false
returnVal = msgbox ("A License Number is required for California and Minnesota", 17, "Validation Error!"
order.License.focus()
'exit Function
elseif order.License.value = "" and order.State.value = "MN" then
order_onsubmit = false
returnVal = msgbox ("A License Number is required for California and Minnesota", 17, "Validation Error!"
order.License.focus()
'exit Function
end if
End Function
dim returnVal
if order.License.value = "" and order.State.value = "CA" then
order_onsubmit = false
returnVal = msgbox ("A License Number is required for California and Minnesota", 17, "Validation Error!"
order.License.focus()
'exit Function
elseif order.License.value = "" and order.State.value = "MN" then
order_onsubmit = false
returnVal = msgbox ("A License Number is required for California and Minnesota", 17, "Validation Error!"
order.License.focus()
'exit Function
end if
End Function