[html-formfu] How do you handle "change password" forms?

Moritz Onken onken at houseofdesign.de
Wed Apr 15 10:27:09 GMT 2009


Am 15.04.2009 um 12:15 schrieb Carl Franks:

> 2009/3/31 Moritz Onken <onken at houseofdesign.de>:
>> Hi Carl,
>>
>> I played around with empty_rows a little and noticed that it is not  
>> possible
>> to set
>> empty_rows: 0. There will always be a new empty row. is this  
>> behaviour
>> intended?
>
> I've added tests for this with:
>    t/default_values/empty_rows_zero.t
>    t/default_values/empty_rows_zero.yml
> and it seems to work fine.
>
> I've tried printing the form out, just to double-check - and there's
> no extra row.
>
> If you still have this problem, can you try modifying the test to
> demonstrate it?
>
> Cheers,
> Carl

I commited the changes to this test, so it fails. The point was that  
it creates an empty row
if there are no items in the repeatable field.

moritz



More information about the HTML-FormFu mailing list