rob.kinyon at gmail.com
Sat Jun 25 20:43:45 CEST 2005
Within Prototype, it's Form.serialize( 'form_name' )
If you want, I've written documentation for prototype (but the author
never replied back to me when I offered it to him).
On 6/24/05, Rusty Conover <rconover at infogears.com> wrote:
> samwyse wrote:
> >This isn't a Catalyst questioin, but since it's for something I'm
> >doing in Catalyst, I thought I'd ask here first.
> >a string of the form "var1=value1&var2=value2&..." for all of the
> >fields in the form. The function should not have to know the names or
> >types of input fields, or even how many there are. And of course the
> >fields are sprinkled inside other objects, such as tables and lists.
> >Don't waste time coding something up for me, I'm just looking for
> >something off-the-shelf. I haven't had much luck with Google, but I
> >can probably figure it out on my own in a few hours if I can't find a
> >solution anywhere else.
> prototype.js has the fundamental code to do this, it crawls the DOM of
> the form and builds the string.
> You'll find it included with Catalyst I think.
> Rusty Conover
> InfoGears Inc.
> Catalyst mailing list
> Catalyst at lists.rawmode.org
More information about the Catalyst