[thelist] Validation question

shortestpath shortestpath at yahoo.com
Fri Sep 5 22:27:16 CDT 2003


try onsubmit (all lowercase)... maybe....
http://www.w3.org/TR/html401/interact/forms.html#h-17.3
-alex


--- "Friesen, Julie" <Julie.Friesen at LC.CA.GOV> wrote:
Hello, 

I am doing the final touches a new web site and have run the pages 
through
the W3C validator. The good news is that the code for which I'm 
responsible
validates. The bad news is that in order to interact with one of our 
oldest
dbs, I need to use some archaic code that doesn't validate. 

Specifically this line: <form name ="fbilinfo"
action="/cgi-bin/port-postquery" method="post"
onSubmit="return(loadVariables(this))" target="_blank"> 

The validator's response: Line 135, column 79: there is no attribute
"onSubmit" (explain...).

What would be a good way to handle this line in order to have the site
validate? 

TIA!
Julie

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


More information about the thelist mailing list