[thelist] Testers needed

Ron White rwhite at edverify.com
Wed Jul 12 08:38:49 CDT 2000


Oops left something out of the first post... The Form needs to have a NAME
attrib as well


Ask and ye shall receive....


function formSubmit{

if (document.frmFoo.foobaritem.value == "")
	{	document.frmFoo.foobaritem.focus() ;
		document.frmFoo.foobaritem.select();
		alert ("Please enter a foobar Number.") ;
		return false
	}
}

and in the <FORM NAME="frmFoo" onSubmit="return formSubmit()">

Add ifs as needed :-)

Ron




---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !






More information about the thelist mailing list