if you are going to change the terminology, i think you should just say that
it requires "at least one letter".
the reason being that if "alpha character" is confusing to someone, then
certainly "a character, a-z, A-Z" will also be confusing.
-s.
> -----Original Message-----
> From: BWSD Hostmaster [mailto:hostmaster@bwsd.com]
> Sent: Tuesday, 9. May 2000 09:33
> To: dev-list@opensrs.org
> Subject: Re: problem in OpenSRS.pm with error checking for alpha
> character on 2nd and 3rd address fields
>
>
> Message received Charles. Perhaps the error checking message returned
> could be clearer for internet dummies, since alpha character
> doesn't make
> sense to some people...does to me, but doesn't to some.
> Perhaps it it was
> spelled out....this means a character, a-z, A-Z must be in the field
> somewhere....
>
> Eric
>
> At 07:24 AM 5/9/00 -0500, you wrote:
> >Actually, error checking SHOULD exist for Address2 IF
> there's data in that
> >field. If you alter OpenSRS.pm (or OpenSRS.pl) the server
> will deny the
> >registration due to error checking being done on the server
> side as well.
> >
> >The algorithm requires that if there's ANY data in Address2
> there must be
> >one alpha character. So, you can't have "104", but you can
> have "Suite
> >104".
> >
> >The error checking is there for a reason, I strongly suggest
> you just leave
> >it :)
> >
> >----- Original Message -----
> >From: BWSD Hostmaster <hostmaster@bwsd.com>
> >To: <dev-list@opensrs.org>
> >Sent: Monday, May 08, 2000 9:40 PM
> >Subject: problem in OpenSRS.pm with error checking for alpha
> character on
> >2nd and 3rd address fields
> >
> >
> >> Found this as reported by client
> >>
> >> if just a number is put into the ..._address2 field, an
> error is returned,
> >> because at line 348 in the OpenSRS.pm file, it is doing a
> look for the
> >> string "address" as being a field that requires at least one alpha
> >> character. This error checking really shouldn't exist for
> address2 and
> >> address3, and the fix is just to add the 1 like so:
> >>
> >> if ($field =~ /first_name|last_name|org_name|address1|city|state/)
> >>
> >> Regards,
> >>
> >>
> >> Hostmaster [Beck Web Servers & Design]
> >> mailto:hostmaster@bwsd.com
> >> ================================
> >
> >
>
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:31 EDT