How to output a screen from a submit handler? (D7) Based upon a form's values In my submit handler I build the output screen and display it with a drupal_set_message();. I'm trying to figure out how to display the information on a page. I can't find any examples. I've created a theme, which is probably unnecessary, but again, I don't know how to display it.
You want output form values after form on submit?

function mymodule_myform($form, $form_state) {
  $form['mytextfield'] = array(
    '#type' =&gt; 'textfield',
    '#title' =&gt; 'My Textfield',
  );
  $form['submit'] = array(
    '#type' =&gt; 'submit',
    '#value' =&gt; 'Submit',
  );
  if (isset($form_state['values'])) {
    $form['page_output'] = array('#markup' =&gt; 'Submitted value: ' . $form_state['values']['mytextfield']);
  }
  return $form;
}

function mymodule_myform_submit($form, &amp;$form_state) {
  $form_state['rebuild'] = TRUE;
}