[fusionpro] Re: Suppress if containing empty variables
Hi Dawn: //If the phone does NOT need to be formatted you can use the following rule to hide the Prefix and tab over.Set the tab value in the Variable Text editor.// if (Field(Phone) == ) return ; else return 'Toll Free:'+t+Field(Phone); //If the phone needs to be formatted add the formatting rule to the front of this rule and change the last line to read:// return 'Toll Free:'+t+formattednumber; -- Nicola DosSantos Ambit Press / Minuteman Press of Cambridge Five Cambridge Center Cambridge, MA 02142 Tel: 617.876.3688 Fax: 617.876.3896 www.ambitpress.com Please send all jobs to [EMAIL PROTECTED] +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- 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] Re: Suppress if containing empty variables
Hi, I have a rule for the formatted number called FormatTollFree My line of text looks like: Toll Free: (tab) +1 713 775 9191 How would I write the rule to get the Toll Free: (tab) +1 to suppress plus include the rule to format the number? I used to use resources, but it would be nice if I could include everything in the rule. Thanks Dawn Hi Dawn: //If the phone does NOT need to be formatted you can use the following rule to hide the Prefix and tab over.Set the tab value in the Variable Text editor.// if (Field(Phone) == ) return ; else return 'Toll Free:'+t+Field(Phone); //If the phone needs to be formatted add the formatting rule to the front of this rule and change the last line to read:// return 'Toll Free:'+t+formattednumber; +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- 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] Re: Suppress if containing empty variables
Hi Dawn, Perhaps a simpler way... If you're using the standard phone formatting rule in FusionPro, (I think they call it Change Phone Format Rule) which does not include or affect the phone label (Toll Free), I think you can just replace the phone number in your rule with the phone formatting rule. A rule within a rule. I'm assuming your Toll Free number is variable. Something like: if (Field(Phone) == ) return ; else return 'Toll Free:'+t+(ChangePhoneFormatRule); Some engineer-type please chime in if I'm wrong! Todd +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- 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] Re: Suppress if containing empty variables
Thanks I'll give this a try, part of the variable part besides the label Toll Free: (tab) +1 (then the formatted number) Where and how do I add +1(spacebar) in the script? Thanks so much for the help. Dawn Hi Dawn, Perhaps a simpler way... If you're using the standard phone formatting rule in FusionPro, (I think they call it Change Phone Format Rule) which does not include or affect the phone label (Toll Free), I think you can just replace the phone number in your rule with the phone formatting rule. A rule within a rule. I'm assuming your Toll Free number is variable. Something like: if (Field(Phone) == ) return ; else return 'Toll Free:'+t+(ChangePhoneFormatRule); Some engineer-type please chime in if I'm wrong! Todd +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- 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] Re: Suppress if containing empty variables
Dawn, Sorry, not sure I know just what you're wanting to do, but The Change Phone Format Rule in FP will accommodate the +1space if the user types it into the entry field. I just let the user type that in, and add form notes to the PrintOne to instruct the them to do so if needed (international numbers). otherwise, I think you can just type it into your rule like: return 'Toll Free:'+t+ +1 + nbsp; + (ChangePhoneFormatRule); HTH Todd +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- 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] Re: Suppress if containing empty variables
Yes that worked great! Thanks for your help!!! For those that are interested don't forget to check the box treat returned strings as tagged text Dawn, Sorry, not sure I know just what you're wanting to do, but The Change Phone Format Rule in FP will accommodate the +1space if the user types it into the entry field. I just let the user type that in, and add form notes to the PrintOne to instruct the them to do so if needed (international numbers). otherwise, I think you can just type it into your rule like: return 'Toll Free:'+t+ +1 + nbsp; + (ChangePhoneFormatRule); HTH Todd +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- 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 --