March 25th, 2004

running, bomb tech

Copied JS validation function

http://www.scriptygoddess.com/archives/003348.php
function validate() {

//check a field to make sure it has something filled in
if(document.formName.textFieldName.value == '') {
alert('Please fill out textFieldName.');
document.formName.textFieldName.focus();
return false;
}

Remember. Good programmers are lazy. They do not want to do stuff themselves by hand unless absolutely necessary. So. Heh. Will tweak later.