Created a module that has a form: How do I display on a page? I just created a module called member_survey that just contains a simple information gathering form.

What I'd like to do is create a page with the url www.example.com/member-survey that contains the survey that i just created.

I can't for the life of me figure out how to do this. Can anyone point me in the right direction?
You should use hook_menu().

function member_survey_menu() {
  $items['member-survey'] = array(
    'title' =&gt; 'Your title',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('your_form_function'),
    'access arguments' =&gt; array('access content'),
  );
  return $items;
}


Replace your_form_function with the function that generates the form.

Replace array('access content') with your desired permissions.

You can also use the webform module instead of writing a module.