[development] Form Api - Passing arguments to a form

Joop Sint Jago j.sintjago at xs4all.nl
Mon Jul 27 13:04:20 UTC 2009


Thanks all,
I have misinterpreted the information available.
It works now,
Thanks

-----Oorspronkelijk bericht-----
Van: development-bounces at drupal.org [mailto:development-bounces at drupal.org] Namens Earnie Boyd
Verzonden: maandag 27 juli 2009 14:43
Aan: development at drupal.org
Onderwerp: Re: [development] Form Api - Passing arguments to a form

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