[ic] profiles.order and Phone Number

Stefan Hornburg racke at linuxia.de
Thu Sep 4 20:59:12 EDT 2003


On Thu, 4 Sep 2003 10:48:08 -0700
"Grant" <listbox at email.com> wrote:

> 
> > > > >     I have added the following lines to etc/profiles.order
> > > > >
> > > > > phone_day=phone Must have day phone number
> > > > > &and
> > > > > phone_day=phone_us Phone number requires 10 digits e.g.
> > 123-456-7890.
> > > > >
> > > > > It seems to kind of work except it will accept a phone number that
> > > > > is less then 10 digits such as  123456789  Is this a bug possibly ?
> > > >
> > > > Try phone_us_with_area or phone_us_with_area_strict if you need
> > > > US phone numbers with 10 digits minimum.
> > >
> > > Where are filters like that defined?
> >
> > grep -n -r phone_us /usr/lib/interchange/* :-)
> >
> > Ciao
> > 	Racke
> 
> I don't have access to directories like usr and lib, but I did "grep
> phone_us" from my home directory (first time grep'ing) and it's still
> working on it.
> 
> Does your suggestion mean the code is in the core?  If so, is there any way
> to write your own on a catalog level?

Yes (Order.pm).

Yes, with 

CodeDef yourcheck OrderCheck
CodeDef yourcheck Routine <<EOR
...
EOR

Ciao
	Racke


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the interchange-users mailing list