[pmwiki-users] Default date in input field?

Knut Alboldt pmwiki at alboldt.de
Fri Apr 2 04:19:47 CDT 2010


Mark,

how's about using the datepicker receipe to pick up a date ? It must be 
customized to enter a different date format.

Knut

Am 31.03.2010 16:09, schrieb Mark Bacas:
> 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
>>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>



More information about the pmwiki-users mailing list