In the form_validate_email function (form_builder.module line 364), shouldn't

if (valid_email_address($element['#value'])) {

be

if (!valid_email_address($element['#value'])) { ?

Same goes for form_validate_url (valid_url should be !valid_url)

Comments

torotil’s picture

Issue summary: View changes
Status: Needs work » Fixed

Thanks for pointing that out. I've just committed a fix.

  • torotil committed 69bdccb on 7.x-1.x
    Issue #2112551: Fixup reversed validate functions.
    

Status: Fixed » Closed (fixed)

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