Hello,
I’d like to make an advanced search form that does not require a keyword, but can use one if one is entered. For example, I would like to search by category and just pull up everything entry in that category.
Here is the form I used that throws the “You did not submit a search term” error.
{exp:search:advanced_form channel="gallery" result_page="gallery/search_results" search_in="everywhere" no_result_page="gallery/no_results" }
<select name='cat_id[]'>
<option value="" selected="selected">Select a Category</option>
{exp:channel:categories channel="gallery" category_group="5"}
<option value='{category_id}'>{category_name}</option>
{/exp:channel:categories}
</select>
<input type="text" name="keywords" id="keywords" value="" size="18" maxlength="100">
<input type="image" src="{site_url}images/site_graphics/search.png" value='Search' alt="Search" name="image" width="25" height="25" >
{/exp:search:advanced_form}Any ideas?
thanks! I appreciate your thoughts.