Jump to content

rule help


dkent

Recommended Posts

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

Link to comment
Share on other sites

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(" | ");}

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...