Hi Cynthia,
If you want to submit the form and post the data on loading an asp page then you
write the function in the load event of that page.
function window_onload()
' validations go here
formname_onsubmit = true
end function
If you want to submit on page unloading write the above in
window_onunload function
All the Best
--
Balaji V
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/