Create a form without creating a page
It's very simple...add a function to your module:

function MYMODULE_some_form($form, &amp;$form_state) {
  // Build and return your form.
}


Call drupal_get_form() from whatever context makes sense to your use case, and render the result:

$form = drupal_get_form('MYMODULE_some_form');
$rendered_form = drupal_render($form);


Then you can use $rendered_form as the output wherever it makes sense to do so (usually a template file).