markru Posted August 5, 2009 Share Posted August 5, 2009 I have a letterhead template I am working that contains all contact information on one line with a "triangle" bullet to separate between the fields. I need to suppress some of the bullets if the field next to it is blank. Can anyone help? Thank you. Link to comment Share on other sites More sharing options...
rpaterick Posted August 5, 2009 Share Posted August 5, 2009 Get into your "variable text editor" to be able to select the fields. Highlight both the bullet and the variable field. Click on "paragraph" button. In the paragraph formatting box, check suppress if empty box and then select from the drop-down "containing empty variables." The bullet should now disappear when that variable field is empty. Link to comment Share on other sites More sharing options...
markru Posted August 5, 2009 Author Share Posted August 5, 2009 Perhaps I'm missing a step because the entire line is suppressed, not just the field and bullet I have highlighted. Link to comment Share on other sites More sharing options...
rpaterick Posted August 5, 2009 Share Posted August 5, 2009 Perhaps I'm missing a step because the entire line is suppressed, not just the field and bullet I have highlighted. Yea, seeing the issue now. This only works for when you have the variables on seperate lines, like a Business Card. example below shows the static text next to what could be variable. phone:XXX.XXX.XXXX fax:XXX.XXX.XXXX cell:XXX.XXX.XXXX Link to comment Share on other sites More sharing options...
markru Posted August 5, 2009 Author Share Posted August 5, 2009 That's exactly right, which why I believe I will need a java script rule to accomplish this. Thanks! Link to comment Share on other sites More sharing options...
rpaterick Posted August 5, 2009 Share Posted August 5, 2009 That's exactly right, which why I believe I will need a java script rule to accomplish this. Thanks! SEE BELOW. Phone XXX.XXX.XXX · Fax XXX.XXX.XXXX · Cell XXX.XXX.XXX [size=4][color=Red]if (Field("fax") == "") return ""; else return" FAX " + Field("fax") + " ·";[/color][/size] Link to comment Share on other sites More sharing options...
rpaterick Posted August 6, 2009 Share Posted August 6, 2009 OK, got it working except your "Triangle" request. Create a rule for each column header. Fax rule below. Just add as many as you need. if (Field("fax") == "") return ""; else return" FAX " + Field("fax") + " ·"; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.