View Single Post
  #2  
Old February 14th, 2018, 12:35 PM
traba5058 traba5058 is offline
Regular Contributor
 
Join Date: Jan 2012
Location: Atlanta, GA
Posts: 77
Post Re: Font Color & Weight Changes in FusionPro

All,

I updated my rule to
Code:
if (Field("Phone 1") != "" && Field("Phone 2") != "")
    return '<f name="Gotham Bold">Field("Phone 1 Tag")</f>'+' '+Rule("Rule_FormatPhone")+'  '+'<color name="c0m36y100k8">|</color>'+' '+'<f name="Gotham Bold">Field("Phone 2 Tag")</f>'+' '+Rule("Rule_FormatPhone2");
else if (Field("Phone 1") != "" && Field("Phone 2") == "")
    return '<f name="Gotham Bold">Field("Phone 1 Tag")</f>'+' '+Rule("Rule_FormatPhone");
else if (Field("Phone 1") == "" && Field("Phone 2") != "")
    return '<f name="Gotham Bold">Field("Phone 2 Tag")</f>'+' '+Rule("Rule_FormatPhone2");
else if (Field("Phone 1") == "" && Field("Phone 2") == "")
    return "";
And am getting the bold font & color changes. However, I've lost the space after the divider when 2 numbers are used and it is not showing the tag.

It's returning:
Field("Phone 1 Tag") (404) 213-8360 |Field("Phone 2 Tag") (404) 941-2631
with bold tags & yellow |. And missing the space between the | and phone 2 tag.

Any ideas?
Reply With Quote