Forum OpenACS Q&A: ad_form date widget question...

Collapse
Posted by Vince T on
The date widget for ad_form creates the select menu like this -

<select name="todate.hours"  class="edit">
<option value="" selected="selected">--</option>
<option value="0">00</option>
<option value="1">01</option>
...
<option value="9">09</option>
<option>10</option>
<option>11</option>
<option>12</option>
...

my question is, how can have option values populated for those options greater than 10. this is the same for day,hours, and minutes, that is, it does not populate the "value" property for options greater than 10.

i need the value property for a javascript app.

hope someone can point me in the right direction.

thanks,

Vince