We've published the following article on MSDN:

"Validating Form Fields Using JavaScript in FrontPage" at http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_fp2003_ta/html/odc_fpValidatingFormControlsUsingJavaScript.asp.