On Feb 20, 2012, at 6:16 PM, Hans Bracker wrote:
> Hello Vince,
>
> Monday, February 20, 2012, 10:00:11 PM, you wrote:
>
>
> you can use (:input select ... :) directives to construct your drop
> down select control.
> Example:
> (:foxmessages:)
> (:fox frm target="{$$abc}-{(ftime fmt=%y%m%d%H%M%S)}" :)
> (:foxtemplate "test":)
> (:input select abc A:)
> (:input select abc B:)
> (:input select abc C:)
> (:input select abc D:)
> (:input select abc E:)
> (:input submit post :)
> (:foxend frm:)
>
> The selected value becomes part of the target name.
> Note that the ftime expression gets evaluated when the page loads,
> not when the form is submitted. I am having trouble achieving the
> latter. I think there is a bug in fox.php, which prevents multiple
> replacement variables from being evaluated on input. Works fine with
> just one. Also using quotes in the fmt part of the ftime expression
> leads to trouble. in the example i left them out, making sure there
> are no spaces.
>
>
> Best regards,
> Hans
> www.softflow.co.uk
Hello Hans,
With the updated version of Fox this works PERFECTLY for me. What I wanted was
> (:fox frm target="{$$abc}-{(ftime fmt=%y%m%d%H%M%S {$$MeetingTime)}" :)
where MeetingTime is a text input in the form. So I do not care when the ftime
expression is evaluated.
Thanks for your quick support.
Vince
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users