Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Validation
Message
 
À
23/08/2000 08:14:13
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, États-Unis
Information générale
Forum:
Internet
Catégorie:
VBScript
Titre:
Divers
Thread ID:
00408164
Message ID:
00408244
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform