2009/3/26 Ascii King <[email protected]>:
> I apologize for asking this twice, but I have not yet solved it.
> Is it possible to specify a different characteristic for the first record in
> a repeatable? I would like the class in the first repeatable block to be
> different from the rest of the class tags. Something like a
> first_record_attributes option or the header in a table.

Actually, there would be a way to achieve this without having to wrap
the repeatable in a div.

Add support for 'auto_id' to Repeatable.pm, so that this:

    type: Repeatable
    name: rep
    auto_id: '%n_%r'

would output this:

    <div id="rep_1">
    </div>
    <div id="rep_2">
    </div>

Carl

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to