[pmwiki-users] I moved a wiki with heavy fox usage to another server…

Hans design5 at softflow.co.uk
Thu Mar 4 07:35:57 CST 2010

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:)
(:input submit post:)
(:foxend form:)


More information about the pmwiki-users mailing list