[pmwiki-users] I moved a wiki with heavy fox usage to another server…
Martin Kerz
mkerz at me.com
Thu Mar 4 07:36:29 CST 2010
Wow, you're a genius. Thanks a lot.
Martin
Am 04.03.2010 um 14:35 schrieb Hans:
> Thursday, March 4, 2010, 1:07:54 PM, Martin Kerz wrote:
>
>> p.s. While I'm at it. I use foxedit to update PTVs. Is it possible
>> in a foxedit form to chose a PTV from a drop down list? Ideally the
>> current value of the PTV should be preselected.
>
> okay here is a form with conditional preselection:
>
> (:fox form ptvtarget={$FullName} :)
> (:if equal {$:abc} 1:)
> (:input select name=$:abc value=1 label=alpha selected=selected:)
> (:else:)(:input select name=$:abc value=1 label=alpha:)
> (:if equal {$:abc} 2:)
> (:input select name=$:abc value=2 label=beta selected=selected:)
> (:else:)(:input select name=$:abc value=2 label=beta :)
> (:if equal {$:abc} 3:)
> (:input select name=$:abc value=3 label=gamma selected=selected:)
> (:else:)(:input select name=$:abc value=3 label=gamma:)
> (:ifend:)
> (:input submit post:)
> (:foxend form:)
>
>
> ~Hans
>
More information about the pmwiki-users
mailing list