Jump to content

Phone Number with Label


Recommended Posts

// This rule produces a string like "Phone: 234-234-2344" from two fields: the phone label and the phone number.

// If the field containing the phone number does not contain a value, the rule returns nothing.

// You can then apply the "Suppress if Empty" parameter to the rule (see the FusionPro User's Guide for more information).


if (Field("phone1") == "")

return "";


return Field("PhoneLabel") + Field("PhoneNumber");

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...