[development] Forms API and Array

Derek Wright drupal at dwwright.net
Thu Jan 10 18:22:06 UTC 2008


On Jan 10, 2008, at 6:49 AM, David Metzler wrote:

> I'd like the stuff returned in a $form_values['myfield'] variable  
> as an array of values

I believe you're looking for:

'#tree' => TRUE

no?

Check the FAPI docs for details...

-Derek (dww)




More information about the development mailing list