dkent Posted June 17, 2013 Posted June 17, 2013 just we need to use dashes for all phone numbers we want this (p) 703-557-0000 x3344 (p) 706-990-9000 not this (p) 703.577.3000 on all phone - cell - fax number - we must now use dashes not dots can we add a global find and replace to this code var numbers = ["(P) " + Field("phone"),"© " + Field("cell"),"(F) " + Field("fax")]; return numbers.filter(function(s){return s.length>4;}).join(" | "); to find . and replace with - in the phone cell and fax fields d Quote
Alex Marshall Posted June 17, 2013 Posted June 17, 2013 The dashes is an option you can specify in the "Change Phone Number Format" Rule in Fusionpro. Select Create Rules>>New>>Change phone format Rule.. And configure as needed. Quote
dkent Posted June 17, 2013 Author Posted June 17, 2013 ok I'm a graphic design not a java person how do I add it into the other rule? Quote
Alex Marshall Posted June 17, 2013 Posted June 17, 2013 Create three rules for the type of phone numbers needed. Click"Create Rules.>New>>>Change Phone Number Format.." Then these rules will be selectable from the "Variable" drop box. Quote
dkent Posted June 17, 2013 Author Posted June 17, 2013 I see how the phone set up rules work but I lose this code win I set them up which I need var numbers = ["(P) " + Field("phone"),"© " + Field("cell"),"(F) " + Field("fax")]; return numbers.filter(function(s){return s.length>4;}).join(" | ");} Quote
Recommended Posts
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.