<!--One step to installing this script-->
<!--1)Simply copy everything below, and insert into BODY section of page-->
<!--Add other form elements into form as desired-->
<script>
<!--
/*
Visit http://java-scripts.net or http://wsabstract.com
For this script and more
*/
function checkchars(cur){
//change max length to determine below
var maxlength=50
if (cur.chars.value.length>maxlength){
alert("Please restrain your input to 50 or less characters!")
return false
}
}
//-->
</script>
<form onsubmit="return checkchars(this)">
<strong>In 50 chars or less, please type a short description of yourself:</strong><br><textarea rows="5" cols="38" name="chars"></textarea>
<br><input type="submit" value="Submit!">
</form>
|