the normal search function:
How to add a validator on it? I want it to display something like "the code is too short" for the word length that less than 3.
- Code: Select all
<cms:search_form msg="search a products..." processor="<cms:show k_site_link/>en/search.php" />
<cms:search keywords='man' masterpage='products.php'>
<h3><a href="<cms:show k_page_link />"><cms:show k_search_title /></a></h3>
<cms:show k_search_excerpt />
</cms:search>
How to add a validator on it? I want it to display something like "the code is too short" for the word length that less than 3.