[(time ...)] would give you the time on page load
[session time] would give you the time on form submission.

The following code worked:

[form]
[session time "|%H/%M/%S"]
[session msg "Time when button was pressed: {=time}"]
[session passdata msg]
[submit]
[form]

{?msg}

On Nov 30, 11:01 pm, Markus <[email protected]> wrote:
> Didn't succeed.
>
> Up to now I have been using this code:
>
> [session target "blog.{p2}.[(time {now} '%Y.%m.%d.%H.%M')].
> {=filter_blog}"]
>
> I don't see how [session time] needs to be used here. In the docs I
> only found: [session time "{now}|%m/%d/%Y"]. If there is only [session
> time] there is no time function?! Getting the submission time with
> {=time} also didn't work.
>
> Confused... Help, please!
>
> Regards, Markus
>
> On Nov 30, 12:55 am, The Editor <[email protected]> wrote:
>
> > Try putting a field in like [session time]
>
> > That should set the value to the timestamp of the form submission.
> > Whereas {now} is the timestamp of the initial page load.
>
> > Cheers,
> > Dan
>
> > On Sun, Nov 29, 2009 at 4:03 PM, Markus <[email protected]> 
> > wrote:
> > > Hi,
>
> > > I am using a form that contains {now}. Now is when the page is loaded.
> > > Though what I want is the other now, the now when the form is
> > > submitted. Possible?
>
> > > Regards, Markus
>
> > > --
>
> > > You received this message because you are subscribed to the Google Groups 
> > > "BoltWire" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to 
> > > [email protected].
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/boltwire?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.


Reply via email to