[pmwiki-users] Default date in input field?

Mark Bacas mbacas at gmail.com
Wed Mar 31 09:09:18 CDT 2010


Okay, figured it out.

|| '''Date: '''||(:input text value={(ftime %Y%m%d)} $:duedate
size=10:) %navy%[-'''YYYYMMDD'''-]%%

Regards,

 - Mark

On Wed, Mar 31, 2010 at 7:59 AM, Mark Bacas <mbacas at gmail.com> wrote:
> How can I insert the current date in my form field?
>
> || '''Date: '''||(:input text $:duedate
> size=10:)&nbsp;%blue%[-'''YYYYMMDD'''-]%%
>
> I'd like the form to come up with the date already in the field.
> Format of YYYYMMDD.
>
> Regards,
>
>  - Mark
>



More information about the pmwiki-users mailing list