Here is how I did this with Java Script. Hope the code can be seen.
SCRIPT LANGUAGE=javascript function NotEmpty() { strSearch = document.forms("form1").elements("search").value; if (strSearch.length > 0) return true else { alert("You must enter a value."); return false } }
/SCRIPT
form action="projectlist.asp" Method="POST" id=form1 name=form1 ONSUBMIT="return NotEmpty()" Project: