[ic] profiles.order and Phone Number

Grant listbox at email.com
Thu Sep 4 12:13:49 EDT 2003


> >
> > > > > >     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

Great, so that just goes in catalog.cfg?  Is this supported in 4.9.3?
Thanks Racke!

- Grant



More information about the interchange-users mailing list