[html-formfu] Question about grabbing info from Repeatable element

Mario Minati mario.minati at googlemail.com
Tue Jul 28 11:28:25 GMT 2009


Shawn Moughtin schrieb:
> Mario Minati wrote:
>
>>
>> sorry but I don't understand yet where your problem lifes. On the 
>> javscript side or on the perl side. Usually formfu will do all the 
>> backend processing for you and you don't have to play with 
>> nested_names and so on.
>> You can add more fields with javascript and just adjust the count 
>> field and it will work.
>> Maybe you forgot to the set new_rows_max modelconfig value of the 
>> repeatable block to an appropriate value, otherwise the DBIC model 
>> will not add the new rows.
>>
>> Greets,
>>
>> Mario
>>
>>
> Woudl you be able to let me see your code for handling new rows?
>
Sure but I still don't get which side. Client side javascript or backend 
side perl?

On the backend side the perl script should have access to the complete 
nested name, as formfu uses itself nested_name for building the forms.
Did you call process?

Greets,

Mario Minati



More information about the HTML-FormFu mailing list