Steve,

Try the <@pad> tag.
<@pad str="<@var request$EndMinute>" numchars=2 char="0"
position=before>

Dave.

-----Original Message-----
From: Fogelson, Steve [mailto:[EMAIL PROTECTED] 
Sent: May 27, 2004 12:07 AM
To: Witango User Group (E-mail)
Subject: Witango-Talk: Format question

Dumb Question. I would like the following code to display a leading zero
for
0 through 9. Not sure how to accomplish this.

<select name="EndMinute">
  <@for start="0" stop="59" step="1">
    <@assign name="request$EndMinute" value="<@currow>" format="">
    <option value="<@var request$EndMinute>" <@if expr='<@var
request$EndMinute> = <@var user$EndMinute>' true='selected'
false=''>><@var
request$EndMinute></option>
  </@for>
</select>

Thanks for the help

Steve Fogelson
Internet Commerce Solutions
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to