I have a great piece of script here courtesy of this list that does exactly what I need it to:
var lineOut = "";
if(Rule("PhoneReturn") == "")
return '<z newsize="6">TEL<z newsize="8.7"> ' + Field("Direct") +
'<br><z newsize="6">FAX<z newsize="8.7"> ' + Field("FAX");
else
return '<z newsize="6">TEL<z newsize="8.7"> ' + Field("Direct") +
' • <z newsize="6">FAX<z newsize="8.7"> ' + Field("FAX")
+ '<br>' + Rule("PhoneReturn");
return lineOut;
How do I add a second condition, such as the +Field("website") == "yes"
for this rule to take effect?
Christopher Reilley
Business Systems Analyst - Printing
W.B. Mason Co.
59 Centre Street, Brockton, MA 02303
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
(p) 508.436.8693
(f) 508.436.5090
(c) 781.308.2083
<<image001.gif>>
