[pmwiki-users] Form Input select control doubled

Jiri mail at revida.sk
Wed Jan 17 03:27:52 CST 2007


Hi all,

in certain conditions it is necessary to customize
input select control.
It works only when (:if condition:) is used only once
and only as the first select option.
Otherwise the control display is parsed into so many
controls how many times the source sequence for the same control name
is interrupted.

Any solution ?
Regards,
Jiri

----
(:if true:)
(:include {$Group}.{$Name} #a1#a1e:)
(:if:)
(:input select name="A" 1 1:)
(:input select name="A" 2 2:)
(:input select name="A" 3 3:)
(:if true:)
(:include {$Group}.{$Name} #a2#a2e:)
(:if:)

(:if false:)
[[#a1]]
(:input select name="A" 4 inserted1:)
[[#a1e]]
(:if:)

(:if false:)
[[#a2]]
(:input select name="A" 5 inserted2:)
[[#a2e]]
(:if:)

----





More information about the pmwiki-users mailing list