Welcome! Log In Create A New Profile


[MOD] Maxvalue v1.0.0

Posted by Sierowski 
[MOD] Maxvalue v1.0.0
May 13, 2012 09:33PM
Sphider v1.3.5 Modification

Name And Version

[MOD] Maxvalue v1.0.0


This mod will stop the user inputting to many characters in the search box.

01. add the following attribute to the searchbox input element maxvalue="256"
this effects the client side only.


<input type="text" name="query" id="query" size="40" value="<?  print quote_replace($query);?>" action="include/js_suggest/suggest.php" columns="2" autocomplete="off" delay="1500" maxvalue="256">

By David Sierowski
Sorry, only registered users may post in this forum.

Click here to login