Wednesday, January 14, 2009, 3:50:27 PM, Graham Archer wrote:
> In the Fox template I am using this syntax:
> (:if equal {$$Input_Text}
> "":)(:{$$Input_Text}:"-":)(:else:){$$Input_Text}(:ifend:)
> However this doesn't work as I intended, the page shows (::"-":)
> instead of just the - character I was hoping for.
> I can't figure out how to replace {$$Input_Text} with a preset
> character when the input is empty.
try this in the template:
(:if equal {$$Input_Text} "":)-(:else:){$$Input_Text}(:ifend:)
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users