Re: Re: Validate_DE
| From: | Stefan Neufeind | Date: | Wed, 22 Oct 2003 15:06:14 +0000 |
| Subject: | Re: Re: Validate_DE | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22912@lists.php.net to get a copy of this message | ||
On 22 Oct 2003 at 10:15, Thomas Schulz wrote:
> Stephan Schmidt wrote in php.pear.dev:
>
> > I just developed a small add-on for the Validate package that is
> > able to do some validation that's needed for German sites.
>
> > - bankcode (only format)
>
> This validation should also accept the usual grouped notation:
>
> 500 105 17
Maybe just stripping whitespaces prior to validating inside the
function would be okay? "50 01 05 17" is an uncommon way to write it -
but would that make the number itself invalid?
Okay - open for discussion - that's why I raised the question :-)
Stefan