25 Apr
2011
25 Apr
'11
8:02 a.m.
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 On Sun, Apr 24, 2011 at 10:40 PM, Iain Wiseman <iwiseman@bibble.co.nz>wrote:
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
-- Randy Fay Drupal Module and Site Development randy@randyfay.com +1 970.462.7450