ijanovick Posted January 5, 2009 Share Posted January 5, 2009 Good morning, I have a rule where all the text is 100k. I have a wingding font symbol being used within this rule to separate phone numbers. However I need this wingding symbol to be 70k. Is that possible and how can I add that to the javascript? I am still new at this. Thanks for your help! // Rule("Phone3FormatRule") // if both phones 3 & 4 are filled // if phone3 is cell and phone 4 is direct // if phone3 is afterhours and phone 4 is direct // if phone3 is after hours and phonoe 4 is cell //reverse the order //if phone3 is filled and phone 4 is empty //or phone 4 is filled and phone 3 is empty //return both phones with no wingding //otherwise return nothing if (Rule("Phone3FormatRule") != "" && Rule("Phone4FormatRule") != "") { if ((Field("Phone3Title") == "cell." && Field("Phone4Title") == "direct.") || (Field("Phone3Title") == "after-hours cell." && Field("Phone4Title") == "direct.") || (Field("Phone3Title") == "after-hours cell." && Field("Phone4Title") == "cell.")) { return Field("Phone4Title") + " " + Rule("Phone4FormatRule") + ' <f name="Wingdings">n<f name="HelveticaNeue MediumCond">' + Field("Phone3Title") +" " + Rule("Phone3FormatRule"); } else { return Field("Phone3Title") + " " + Rule("Phone3FormatRule") + ' <f name="Wingdings">n<f name="HelveticaNeue MediumCond">' + Field("Phone4Title") +" " + Rule("Phone4FormatRule"); } } else if (Rule("Phone3FormatRule") != "" && Rule("Phone4FormatRule") == "") { return Field("Phone3Title") + " " + Rule("Phone3FormatRule"); } else if (Rule("Phone4FormatRule") != "" && Rule("Phone3FormatRule") == "") { return Field("Phone4Title") + " " + Rule("Phone4FormatRule"); } else return ""; Isabella Janovick ijanovick@llprinters.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.