[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Free Shipping! (Case Problem)
On Thu, 15 Jul 1999, Steve Cockwell wrote:
> ****** message to minivend-users from Steve Cockwell <stevec@sierra.lazarus.ca> ******
>
> Hi folks,
>
> Is there any way in a minivend form to automatically convert to upper or
> lower case - this is more postal code problems. K7V != k7v...
>
> I've temporarily duped all of the zone info and converted it to lower
> case, but if someone were to type in:
>
> k7V8z9 (ie: Mixed case)
>
> they'd still end up with free shipping....
Hmm, I get around this later in the checkout profile with little snippets
of perl like this:
[perl arg="values" interpolate=1]
$Safe{values}{state} =~ tr/a-z/A-Z/;
[/perl]
I am not sure how to do it for shipping though...
Best,
Kyle