You are here

function fuzzysearch_form in Fuzzy Search 6

Form to search the index

1 string reference to 'fuzzysearch_form'
theme_fuzzysearch_show_results in ./fuzzysearch.module
Theme hook for rendering search results.

File

./fuzzysearch.module, line 543
Module file for fuzzysearch module.

Code

function fuzzysearch_form($form_state, $keys = '') {
  $form['keys'] = array(
    '#title' => t('Enter search phrase'),
    '#type' => 'textfield',
    '#size' => 35,
    '#default_value' => $keys,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Search'),
  );
  return $form;
}