<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">As always - "Thank you" Hans!<br>
<br>
This has lifted the fog - and works fine.<br>
<br>
Graham<br>
</font><br>
Hans wrote:
<blockquote cite="mid:1543040779.20090114163934@softflow.co.uk"
type="cite">
<pre wrap="">Wednesday, January 14, 2009, 3:50:27 PM, Graham Archer wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> In the Fox template I am using this syntax:
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap=""> (:if equal {$$Input_Text} "":)(:{$$Input_Text}:"-":)(:else:){$$Input_Text}(:ifend:)
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap=""> 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.
</pre>
</blockquote>
<pre wrap=""><!---->
try this in the template:
(:if equal {$$Input_Text} "":)-(:else:){$$Input_Text}(:ifend:)
~Hans
</pre>
</blockquote>
</body>
</html>