I am looking for a way to validate address fields few examples:
- Make sure the street is not 'POB'
- Make sure postal code is 5 numeric in the US, 6 alphanumeric in canada, etc.
- Phone number validation
- Email address
I didn't see any _validate functions or hooks to use, and I don't want to hack ubercart core for this, since I guess the validation might be different for each case - I just want to know what you think is the best way to add such code.