Currently, validation of Recipient's Email is done only by add_to_cart hook which means all the form info is lost if it's invalid. Also add it as a form validation hook.

Comments

jrust’s picture

Status: Active » Fixed

Fixed in CVS

torgospizza’s picture

More to the point, do we need to require an email address? For our site we're also selling printed certificates, which will never have an email address (for the recipient). I think we should check for an email address as the logic currently stands, and if an email address is not found, it should use the purchaser's email address instead.

jrust’s picture

I agree, let the admin decide whether or not to make the attribute required.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.