Tuesday, June 10, 2008, 2:31:12 PM, noskule wrote:

> I actually want to calculate tree form field values together.

> (:input text date:)
> (:input text hours:)
> (:input text minutes:)
> (:input hidden PublishDate:)

> then I sum them together
> {(strtotime {$$date})} + {$$hours}*3600 + {$$minutes}*60

> and want to save them as unixtime to "PublishDate" ptv.

Install Cookbook.MarkupExprPlus if you have not done yet.
Then you can nest 'add'  and 'mul'  etc markup expressions.
Use the syntax {$$(expression ........ )} in the form
or template.


  ~Hans


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to