[pmwiki-users] Default date in input field?

Knut Alboldt pmwiki at alboldt.de
Sat Apr 3 01:12:56 CDT 2010


Hi Hans !

Am 02.04.2010 23:55, schrieb Hans:
> Friday, April 2, 2010, 10:18:43 PM, Knut Alboldt wrote:
>
>> ||Date: ||(:input text duedate:) (:datepicker field=duedate:) ||
>
>> or within a fox-template:
>
>> ||Date: ||(:input text $:duedate:) (:datepicker field=ptv_duedate:) ||
>
> I suppose you mean a Fox form, not a template.
oh, yes. You are absolutly right.

I just include the fox-field definitions from a template page - that's 
why I talk of templates when talking of fox forms - sorry (have to be 
more precisely - line in the cookbook docs). ;-)

> But the syntax for PTVs within input markup is used wether Fox will
> process the submission, or any other script.
> In PmWiki's input directives $:name will be replaced to ptv_name.
> Thus the datepicker markup example uses ptv_duedate to refer to the
> input field named $:duedate.
Fine, I didn't realize that !

Thanks Knut
>
>
>    ~Hans
>
>



More information about the pmwiki-users mailing list