Azure Jane Lunatic (Azz) 🌺 (
azurelunatic) wrote2004-03-25 05:28 pm
Copied JS validation function
http://www.scriptygoddess.com/archives/003348.php
Remember. Good programmers are lazy. They do not want to do stuff themselves by hand unless absolutely necessary. So. Heh. Will tweak later.
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.
