I never noticed this before but a client put my attention to it. When e-mail fields are being checked for equal values the case of the characters is also being put to the test, which may be a bit overkill.

I understand e-mail fields are just one way of applying the equal values-check, and there are definitely circumstances which demand a case sensitive input field.

So my question is: is there a way to work around this, be it in the UI (an extra checkbox which asks if the case should be checked as well - this would make this topic a feature request), be it by adding one or more lines of code in my template.php?

Comments

Liam Morland’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Category: support » feature

It makes sense to me that email comparisons would be case-insensitive.

I can't think of any work-around in template.php; you would have to adjust the case before the values go for validation.

knalstaaf’s picture

Issue summary: View changes

typo

Liam Morland’s picture

Issue summary: View changes
Status: Active » Fixed

  • Liam Morland committed 188cc3a on 7.x-1.x
    Issue #2115833: Case insensitive comparisons for email type components.
    

Status: Fixed » Closed (fixed)

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