Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function don't work! Why?

Status
Not open for further replies.

PeachRL

Technical User
Joined
Nov 9, 2000
Messages
6
Location
US
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
 
Hey PeachRL,

What's the error ur getting??

aladdin420
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top