|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
koejkje Smarty Rookie
Joined: 27 Nov 2003 Posts: 30 Location: Miami, Florida
|
Posted: Wed Feb 11, 2004 10:09 pm Post subject: tabindex |
|
|
Here is a handy way to do tabindex values dynamically for form pages...
tabindex="{$tabindex}"{assign var=tabindex value=$tabindex+1}
place this in your form tags and besure the orgional value of 0 is being sent to your template. With that said any ideas on how this could be incremented using the following tags...
{html_select_date prefix="U_birth" field_order="MDY" month_format="%m" start_year="-70" tabindex="$tabindex"}
wondering why you can't specify parameters for html_select_date?? |
|
Back to top |
|
sharky44 Smarty n00b
Joined: 03 Sep 2007 Posts: 1
|
Posted: Mon Sep 03, 2007 5:44 pm Post subject: |
|
|
You could also use the {counter} for doing a tabindex.
Also, any word on doing the tabindex of a html_select_date? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|