strido Posted August 9, 2016 Share Posted August 9, 2016 (edited) I have a business card with three possible variables. 1) Two phone numbers, a Fax and an Email 2) One of each 3) One Phone, one Email. The customer is using graphics to indicate which is which. I have all three graphics in .EPS files. In order to make it only one template, I'd like to have a rule that says "return graphic + field." This way I can just highlight the whole paragraph and suppress if empty to prevent any empty fields from displaying their associated graphic. if (Field("Phone1") == "") return "" else return Resource("Phone") + (Field("Phone1"));I'm trying to get one down before I do the others. This rule doesn't return the resource, nor will it if I change "Return Resource("Phone") to Return Rule ("Phone1") ** I should note that in either case what actually gets returned are the actual words Resource("Phone") as well as the values in the field. Edited August 9, 2016 by strido Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.