longmatch
Programmer
- Nov 1, 2001
- 406
I want to validate the user input for required field. I am using vbscript to validate:
if ProcedureData.Rotation.value = "" then
msgbox("Please enter rotation data"
validation = false
end if
But it is very strange. When I left this field empty, the messgebox came out and submission of this form failed. However we I put something in this field after receiving messages, the msgbox still came out. WHY?????
Thanks
haijun
if ProcedureData.Rotation.value = "" then
msgbox("Please enter rotation data"
validation = false
end if
But it is very strange. When I left this field empty, the messgebox came out and submission of this form failed. However we I put something in this field after receiving messages, the msgbox still came out. WHY?????
Thanks
haijun