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