Thanks for the tip although we'd prefer to avoid dependency on other online 
services as much as possible.
Still hoping there is a not too complicated way to add validation for 
address fields.

On Monday, September 9, 2013 12:52:05 AM UTC+2, Mike Hostetler wrote:
>
> We use Authorize.net as the payment processor and they do ZIP validation. 
> So maybe look at that route instead of putting something into Satchmo. 
> On Sep 8, 2013 5:09 PM, "David Unric" <[email protected] <javascript:>> 
> wrote:
>
>> Hi,
>>
>> can anybody recommend how or where can I add validation of postal code 
>> entered in billing and/or shipping address in account information and at 
>> checkout process ?
>>
>> satchmo_store.contact.models.AddressBook defines postal_code field as 
>> models.CharField(_("Zip Code"), max_length=30) - just as string 30 chars 
>> long.
>>
>> I'd like to validate postal codes for known enabled/known countries but 
>> where can I put the code to be effective in templates, ie. throw a message 
>> about invalid code after submitting a contact form ? By a satchmo signal ? 
>> Or at module/view level ?
>>
>> Thanks for any advice.
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Satchmo users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/satchmo-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/satchmo-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to