Stuart Foster wrote:
>
> I know I've seen many posts about this, I just can't find one.
>
> I need to put the current date into an input's value when a form is loaded.
> Is there a way to do this with DTML.
<input type="text" name="now" value="<dtml-var ZopeTime fmt="fCommon">">
See DateTime.py or the Zope Quick Reference for more information on how
to manipulate the format.
--
ethan mindlace fremen
Zopatista Community Liason
Abnegate I!
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )