[pmwiki-users] fox, ptv, date : trying to send {(ftime fmt="%F %H:%M")} as a ptv

ABClf languefrancaise at gmail.com
Thu Nov 24 13:46:10 CST 2011


Hi Hans,

You save my day ;)
Thank you.


2011/11/24 Hans <design5 at softflow.co.uk>:
> Thursday, November 24, 2011, 6:59:18 PM, ABClf wrote:
>
>> In my form, I use :
>
>> (:input hidden name=$:dateticket {(ftime fmt="%F %H:%M")}:)
>
> try
>
> (:input hidden name=$:dateticket value='{(ftime fmt="%F %H:%M")}':)
>
> or
>
> (:input hidden name=$:dateticket value='{$$(ftime fmt="%F %H:%M")}':)
>
> For the latter the time stamp only gets evaluated when the form gets
> posted, for the first one it gets evaluated when the form page loads.
> In both cases adding single quote marks kept the markup expression in
> one piece.
>
>
>  ~Hans
>
>



-- 

---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------



More information about the pmwiki-users mailing list