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

Hans design5 at softflow.co.uk
Thu Nov 24 13:34:23 CST 2011


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




More information about the pmwiki-users mailing list