Todd;
Another attempt...
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: input type="text" name="projectid" ID="search"SIZE="40"
input type="Submit" id=Submit1 name=Submit1
/form
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only