[development] Form Api - Passing arguments to a form

Joop Sint Jago j.sintjago at xs4all.nl
Sun Jul 26 20:56:50 UTC 2009


Hello,

I have searched d.org but cannot find the answer.

 

I'm converting a D5 module to D6, but cannot succeed into passing some
arguments when calling the form.

 

$output = drupal_get_form('mymodule_form', $arguments_array);

 

function mymodule_form($arguments_array) {

//

  '#defualt_value' => $arguments_array['name'],
//

}

 

If I'm not mistaken nothing changed at this point with D6.

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090726/cf4638ef/attachment.htm>


More information about the development mailing list