You are here

function fuzzysearch_box_form in Fuzzy Search 6

Form to search the index

1 string reference to 'fuzzysearch_box_form'
fuzzysearch_block in ./fuzzysearch.module
Implementation of hook_block().

File

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

Code

function fuzzysearch_box_form() {
  $form['keys'] = array(
    '#type' => 'textfield',
    '#size' => 15,
    '#default_value' => '',
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Search'),
  );
  $form['#submit'][] = 'fuzzysearch_form_submit';
  return $form;
}