[development] Form Api - Passing arguments to a form

Earnie Boyd earnie at users.sourceforge.net
Mon Jul 27 12:42:33 UTC 2009


Quoting Joop Sint Jago <j.sintjago at xs4all.nl>:

> 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.
>

I did the following search where I found http://drupal.org/node/114774  
which then leads you quickly to http://drupal.org/node/144132.

http://lmgtfy.com/?q=convert+5.x+site%3Adrupal.org

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/




More information about the development mailing list