![]() |
Sergey Kornilov admin 2/24/2005 |
Here is the simple example how you can require visitors to enter four or more characters into a search box on the list page. My changes are in bold: <input type=button class=button name="SearchButton" value="Search" onClick="java script: document.forms.frmAdmin.action.value = 'Search'; Â if (document.forms.frmAdmin.SearchFor.value.length<4) alert('Enter four characters or more'); else document.forms.frmAdmin.submit();">
|
|
500183 3/2/2005 |
Great, thank you! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=3567&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' /> |