Hi ,<div><br></div><div>I want to customize the default search module , </div><div><br></div><div>So i want to add the drodown list box with search text box, here is the alter form ,</div><div><br></div><div><br></div><div>
Then what is the next steps , for search the article by dropdown list ,</div><div><br></div><div>I want to add my drop down list  value into select query where condition ,</div><div><br></div><div>How i do , </div><div><br>
</div><div><br></div><div><div><br></div><div>here is the code</div><div><br></div><div>function search_form_alter(&amp;$form, $form_state, $form_id) {</div><div>  switch ($form_id) {</div><div>    case &#39;search_theme_form&#39;:</div>
<div>  </div><div>  $form[&#39;selectlist&#39;] = array(</div><div>  &#39;#type&#39; =&gt; &#39;select&#39;, </div><div>  &#39;#default_value&#39; =&gt; variable_get(&#39;feed_item_length&#39;,&#39;teaser&#39;),</div><div>
  &#39;#options&#39; =&gt; array(</div><div>    &#39;user&#39; =&gt; t(&#39;user&#39;), </div><div>    &#39;location&#39; =&gt; t(&#39;Location&#39;), </div><div>    &#39;age&#39; =&gt; t(&#39;age&#39;),</div><div>  ),</div>
<div>  &#39;#description&#39; =&gt; t(&#39;Select type.&#39;),);</div><div>  break;</div><div>  }</div><div>}</div><div><br></div><div><br></div><div> </div>
</div>