[pmwiki-users] pmform question

Petko Yotov 5ko at 5ko.fr
Wed Jan 28 11:10:02 CST 2015


On 2015-01-28 18:00, Daniel wrote:
> But, I noticed the existence of {$CurrentTime}
> Isn't it simpler just to use that?

Does it work? {$CurrentTime} is not a PageVariable in the default 
installation so unless you or a recipe define it, it will not work.

Petko

> Op 27-01-15 om 22:15 schreef Petko Yotov:
>> Use something like this:
>> 
>>   (:input text datetime "{(ftime)}":)
>> 
>> or:
>> 
>>   (:input hidden datetime2 "{(ftime)}":)
>> 
>> Petko
>> 
>> On 2015-01-25 19:16, Daniel wrote:
>>> Hello,
>>> I want to add the current date in a form sent to me, using the ftime
>>> function (Seen in 
>>> http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions)
>>> 
>>> I used (ftime) but that didn't work, I also tried using
>>> {(ftime)}, {$ftime}, {$$ftime} {$$(ftime)} {($$ftime} {$(ftime)} :(
>>> 
>>> Can anybody tell me how to use the ftime function correctly in a 
>>> pmform?
>>> (Or.. which variant is missing here ? :) )




More information about the pmwiki-users mailing list