Carrie Dodt Posted August 3, 2009 Share Posted August 3, 2009 Hi The issue is applying a character limit to multiple fields. I have one line of copy with multiple fields. I have copyfit applied, but if they put in too many characterd, nothing will appear in the fields, is there a way to put a character limit on a string of fields such as this? So it affects the entire line. Or can I post a message through this that says the copy fit is limited & please reduce your text? Thanks in advance. Carrie Here is the rule: //RuleCityLine function AppendText(FullText, Delimiter, NewText) { if (NewText != "") { if (FullText != "") FullText += Delimiter; FullText += NewText; } return FullText; } var s = ""; s = AppendText(s, "", Field("GrubbEllisCompany")); s = AppendText(s, " | ", Field("GrubbEllisAddress")); s = AppendText(s, " | ", Field("GrubbEllisAddrSte")); s = AppendText(s, " | ", Field("GrubbEllisCity")); s = AppendText(s, ", ", Field("GrubbEllisState")); s = AppendText(s, " ", Field("GrubbEllisZip")); s = AppendText(s, " | "+'<f name="TheSans B6 SemiBold">', Field("GrubbEllisEmail")); return s; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.