[pmwiki-users] Default date in input field?

Mark Bacas mbacas at gmail.com
Fri Apr 2 12:48:07 CDT 2010


Hi Knut,

I didn't realize YOU created the datepicker recipe. Cool.

If possible, I'll work on incorporating it tonight. Is there a way to
make Mondays show up as the beginning of the week? (I just read the
recipe again and see that listed in your to do section).

I currently have this for my date field:
|| '''Date: '''||(:input text value={(ftime %Y%m%d)} $:duedate
size=10:) %navy%[-'''YYYYMMDD'''-]%%

So, would I just replace the above with something like:
(:datepicker field=Date format='Ymd' button=today:)

I want it to show "Date: " in the form, but I want it to write to my
$:duedate field.

Can I change the colors via CSS in the "datepicker-default.css?

Regards,

 - Mark


On Fri, Apr 2, 2010 at 11:28 AM, Knut Alboldt <pmwiki at alboldt.de> wrote:
> just let me know ...
>
> Knut
>
> Am 02.04.2010 11:32, schrieb Mark Bacas:
>>
>> Hi Knut,
>>
>> Yep, I looked at that. Will probably try to incorporate. I need to
>> come up with a "desired features" list.
>>
>> Regards,
>>
>>  - Mark
>>
>> On Fri, Apr 2, 2010 at 5:19 AM, Knut Alboldt<pmwiki at alboldt.de>  wrote:
>>>
>>> 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:)&nbsp;%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