Require minimum number of characters in form
Posted on 2001-07-17
Require that at least three characters are used in search form.
If user trys to search with less than three characters in search field, then
Popup javawindow appears that says "Please be more specific with search criteria", and
form will not perform search.
Here issimple the form:
<FORM ACTION="/cgi-bin/sql/search.cgi" METHOD=POST>
<B>Name</B><INPUT TYPE=text NAME="table.company" SIZE=10 MAXLENGTH=60>
<INPUT TYPE=submit VALUE="Search"></FONT>