[html-formfu] autoincrement tabindex attribute
Carl Franks
fireartist at gmail.com
Thu Sep 2 20:55:43 GMT 2010
On 13 August 2010 19:01, Kamen Naydenov <pau4o at kamennn.eu> wrote:
> hello list
>
> Is it possible to autoincrement tabindex attribute for all elements in
> generated form?
> Especially for Repeatable elements.
Hi,
This would be more difficult than the standard repeatable counter %c
because it would need to be a form-level counter, to ensure the same
tabindex wasn't used twice in the same form.
I'm also not sure what use it could be, as I believe tabindex is only
used to override the default order, which is the order of fields in
the html source - whereas what you're asking for would seem to be the
same as the default order.
There's currently nothing in FormFu that would provide this.
I wouldn't be opposed to a patch to provide this functionality, as
long as there was an explanation of the benefit / expected use-case.
Carl
More information about the HTML-FormFu
mailing list