Email Validation

Contrib type: 
Module
Status: 
Initial upload

Downloads

Latest version: 
0.1
Compatibility: 
Ubercart 1.x

Currently a very very simple module to give email validation to attributes who have names containing the word "email". Could be modified to offer any other type of validation.

Done to scratch a itch, but may be useful for other people.

Normal use at your own risk, no warranty etc stuff applies.


PreviewAttachmentSize
email_validation-0.1.tar.gz911 bytes
TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3292
Re: Email Validation

See http://www.ubercart.org/issue/6937/syntax_error_after_hitting_add_cart for a bug caused by this module. I took a quick glance at the code, and it seems like maybe you have to check first to see if there are any attributes for the product before constructing your query.

<tr>.