Hi Jerimiah, You are going to need to set up a graphic rule to coordinate with your text rule below. The graphic rule must return a graphic resource. Usually when I need nothing to appear for any one of the choices I use a blank EPS file which is the same as returning nothing.
Hope that helps! Lisa Brooks Brooks Litho & Digital Group ________________________________________ From: Jerimiah DuBois [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 11:24 AM To: FusionPro Users Forum Subject: [fusionpro] Changing an image based on a field input Hello All, So I have a situation where I have 5 potential phone numbers on a business card and the numbers and their labels are separated by a line. In the native file the line adjusts in height based upon the number of phone numbers used on the card. So in the FusionPro document I have a text field separated by a graphic field with a text field on the other side. The problem I have is that based upon how many of the 5 number fields are used, I have to change out the image file to accommodate. So, I started to use the code below to make this work when i realized that I have to have the phone fields change the value for the graphics field. if (Field("Phone1") != ""&&Field("Phone2") == ""&&Field("Phone3") == ""&&Field("Phone4") == "") return 'phone1.eps'; else if (Field("Phone1") != ""&&Field("Phone2") != ""&&Field("Phone3") == ""&&Field("Phone4") == "") return 'phone2.eps'; else if (Field("Phone1") != ""&&Field("Phone2") != ""&&Field("Phone3") != ""&&Field("Phone4") == "") return 'phone3.eps'; else if (Field("Phone1") != ""&&Field("Phone2") != ""&&Field("Phone3") != ""&&Field("Phone4") != "") return 'phone4.eps'; else return ""; Now, the code above would return the string but it isn't going to change the graphic field as i cannot apply it to the graphic field. Any ideas? Or am I just way off on this and trying something I cannot accomplish? Thank you, Jerimiah DuBois Web/Graphic Designer [EMAIL PROTECTED] Alliance Graphics | Printing 5225 Hollister Street Houston, TX 77040 Direct: 713.333.2539 Main: 713.688.2688 Fax: 713.688.2895 www.alliancegp.net +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- FusionPro 5.0 Now Available! Variable text on a curve and soft drop-shadows for variable text LIMITED TIME upgrade offer of $299 per license for current customers: http://fusionpro.printable.com/store/upgrade New licenses available for $599 each at: http://fusionpro.printable.com/store/ All FusionPro 5.0 customers to receive FusionPro 5.1 with Adobe Acrobat 8 and InDesign CS3 support when released for FREE. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- -- Note: All e-mail sent to or from this address will be received or otherwise recorded by the e-mail recipients of this forum. It is subject to archival, monitoring or review by, and/or disclosure to someone other than the recipient. Our privacy policy is posted on www.printplanet.com -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- FusionPro 5.0 Now Available! Variable text on a curve and soft drop-shadows for variable text LIMITED TIME upgrade offer of $299 per license for current customers: http://fusionpro.printable.com/store/upgrade New licenses available for $599 each at: http://fusionpro.printable.com/store/ All FusionPro 5.0 customers to receive FusionPro 5.1 with Adobe Acrobat 8 and InDesign CS3 support when released for FREE. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- -- Note: All e-mail sent to or from this address will be received or otherwise recorded by the e-mail recipients of this forum. It is subject to archival, monitoring or review by, and/or disclosure to someone other than the recipient. Our privacy policy is posted on www.printplanet.com --
