[development] Forms API and Array

David Metzler metzlerd at metzlerd.com
Thu Jan 10 14:49:27 UTC 2008


Does anyone know whether FAPI can create repeating input fields of  
the form:

<input name="myfiled[]"/>
<input name="myfield[]"/>

Or some such equivalent.  I'd like the stuff returned in a  
$form_values['myfield'] variable as an array of values

I'm thinking about doing a custom helper function to accomplish this  
but would love to hear best some ideas about how to approach this.

Dave


More information about the development mailing list