[Templates] Auto-increment?
Evan Carroll
evan@dealermade.com
Tue, 12 Sep 2006 16:08:18 -0500
This might be accomplished with a continuation on a MACRO or the like.
or using a global variable and passing it to functions.
I personally would just manually set the tab index, and include
tabindex="$var" in the MACRO;
so the syntax would look something like this:
<input name="DoIt" [% tabindx(5) %]>
or
SET tab_cnt = 1;
<input name="DoIt" [% tabindx(tab_cnt) %]">
or the like..
Evan Carroll
www.evancarroll.com