Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Friday 08 October 2010 8:07:43 am - 2 replies
Lo' F.
Saturday 09 October 2010 6:57:43 am
What about something like this?
<select> {for 1 to 31 as $num} {if $num|lt(10)} <option>{concat('0', $num)}</option> {else} <option>{$num}</option> {/if} {/for} </select>
loredanaebook.it
Mike Makris
Tuesday 12 October 2010 6:08:39 am
Thank you. I was actually trying to avoid this. I thought there might be a string formating function which I'm sure I'll need for output.
MikeM
You must be logged in to post messages in this topic!