In Drupal 7 you avoid rendering; you do *not* render a form after calling drupal_get_form(). You return the render array that it creates.
Please take a look at the form_example in Examples for more help.
You may also be interested in the render_example.
-Randy
Hi,
In drupal 6 used to have
$output = '';
$output .= drupal_get_form('my_form', $arg1);
Not I find I need
$output .= drupal_render((drupal_get_form('my_form', $arg1));
However it not longer passed arg1 to the form.
Any ideas
Regards,
Iain