Question
. I am trying to add a today's time as a default value to one of the fields of the form. I can type any text and the form will show the typed text. But the current date will never show up. I have seen a sample in
ItemToDoForm. I have done the same thing, but it does not work.

Is it a recent addition to the TWiki? Should I get a TWiki upgrade for that?
Thanks a lot,
Twiki newbie
- TWiki version: 01 dec 2001
- Web server: apache
- Server OS: win nt
- Web browser: ip 60
- Client OS: win xp
--
SergeiPushnof - 12 Apr 2002
Answer
The
ItemToDo form uses the following in the HTML form to create a new item - try this:
<td> <input type="text" name="DueDate" size="12" value="%SERVERTIME{"$day $mon $year"}%" />
This should work in your release, but other variables to try include %GMTIME%.
--
RichardDonkin - 13 Apr 2002