View Full Version : VB checkform() error

02-27-2004, 10:43 AM
Hi guys, ive got another error again.:o

Do anyone of u know what this error means?

Object doesnt support this property or method: "document.form1"

This appears whenever i try to submit my form and return the checkform() that i have coded using VBScript.

My codes.

function checkform()
dim ftest
ftest = false
if checkDirector() then
ftest = true
end if
checkform = ftest
end function

function checkDirector()
dim sendform
sendform = true
if (document.form1.DirectorOfOperations.value = "--------Choose Director---------") then
msgbox ("Please select a director of operations.")

sendform = false

end if
checkDirector = sendform
end function


DirectorOfOperations = dropdownmenu name.
form1 = form name

im working on a .htm file that forwards to an asp.

Please help...thanks help would be greatly appreciated.

02-27-2004, 11:07 PM
....document1 doesnt seem like a valid statement to me...

03-01-2004, 12:41 AM
Mitch...wat do you mean?:confused:

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum