cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <>
Subject Re: flowscript :: repeater :: getting the values
Date Mon, 20 Jun 2005 15:59:51 GMT
Uli Nitsche wrote:
> Hello!
> the documentation did not help me with my problem,
> so I post it here hoping for help.
> I use FlowScript (js) and CForms.
> Using cForms' repeater widget a user can add form fields.
> After adding a second field, the html input fields look like this:
>                 <input type="text" title="" value="" id="" name=""
>                 <input type="text" title="" value="" id="" name=""
> the numbers between "autoren" and "name" are generated automatically by CForms (as far
as I can see).
> My problem now is that I don't know how to get the name values of the "autoren" as an
array and
> all of them with just of request.
> Using "cocoong.request.get("") would get a singe author's name. And if
I had a great number
> of them this would be somewhat cumbersome.
> Isn't there a easy way to achieve this?


Check out the form bindings examples that come with Cocoon. There are 
various ways of binding the repeater to something like an array, and 
then you can simply loop through the array indices.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message