Try this one ...
// FourPhonesRule
// Returns up to 4 Phone Numbers separated with bullets
var phoneNum = new Array();
if(Rule("PhoneFormatRule") > "") phoneNum[phoneNum.length] =
Rule("PhoneFormatRule");
if(Rule("FaxFormatRule") > "") phoneNum[phoneNum.length] =
Rule("FaxFormatRule");
if(Rule("CellFormatRule") > "") phoneNum[phoneNum.length] =
Rule("CellFormatRule");
if(Rule("VMFormatRule") > "") phoneNum[phoneNum.length] = Rule("VMFormatRule");
return phoneNum.join(" • " );
--
Eric Carbone
Systems Administrator
MOR Printing, Inc
-----Original Message-----
From: Dawn Wheeler [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2008 10:36 AM
To: FusionPro Users Forum
Subject: [fusionpro] Help with rule
I need a little help with a rule.
I have phone1 and phone 2 on the same line, separated with a space and a
bullet.
My rule needs to say if Phone1 is not used then phone 2 will move over to
left margin and no spaces and no bullet.
Example: If both phone and cell are used look like this:
Phone: 713-775-9197 € Cell: 713-555-9999
If only Cell is used look like this:
Cell: 713-555-9999
Thanks
Dawn Wheeler
Ideal Printers, Inc.
713-880-8800
Fax 713-880-8875
Certified FSC Printer <> Keeping it Green!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--