Drupal block-level form submit URL? I have a form:

function form_search_products($form, &amp;$form_state) {
  $form = array();

  $form['keyword'] = array(
    '#type' =&gt; 'textfield',
    '#description' =&gt; 'Enter keywords (ie: Fat free milk)'
  );  

  $form['submit'] = array(
    '#type' =&gt; 'submit',
    '#value' =&gt; 'Add item to my shopping list'
  );  

  return $form;
}


Simple and its loaded into a block region above product listings via:

function products_block_view($delta = '') {
 $block = array();

  switch ($delta) {
    case 'search_form':
    {
      $block['content'] = drupal_get_form('form_search_products');
      break;
    }
  }
  return $block;
}


I am trying to figure out how to map a submit handler now as there is no menu...

My current menu looks like this:

function products_menu() {
  $items = array();

  $items['products/mycity'] = array(
    'type' =&gt; MENU_CALLBACK,

    'title' =&gt; 'Enjoy shopping in MyCity',

    'page callback' =&gt; 'html_list_products',      
    'access arguments' =&gt; array('access products')
  );

  $items['products/autocomplete.json/%'] = array(
    'type' =&gt; MENU_CALLBACK,

    'page callback' =&gt; 'json_list_products',
    'page arguments' =&gt; array(2),
    'access arguments' =&gt; array('access products')
  );

  return $items;
}


What or how do I add to the menu_hook above so that I can process form submissions done through the above block code???

Alex
Form submissions aren't dependent on there being a path to view/submit the form at, all you need to do is one of the following:


Name the submit function as FORMNAME_submit() and Drupal will pick it up automatically
Add the handler manually in the form function itself, e.g.

$form['#submit'][] = 'my_submit_function';