PDA

View Full Version : Applying Italics to a Variable


Admin
August 22nd, 2008, 07:27 AM
// This rule shows you how to apply italics to a variable. You can use the rule to apply italics to regular text as well.
// You must remember to check the box that says "Treat returned strings as tagged text" in the Rule Editor dialog box.


if (Field("Phone1") == "")
return "";

else
return "<i>" + Field("Name") + "</i>";