"Notice: Undefined index: email in email_field_validate() (line 34 of ............\sites\all\modules\email\email.module)."

the problematic line:
if ($item['email'] != '' && !valid_email_address(trim($item['email']))) {

a possible solution:
if (isset($item['email']) && $item['email'] != '' && !valid_email_address(trim($item['email']))) {

CommentFileSizeAuthor
#10 fixin_php_alert-1782394-10.patch651 bytesjoey-santiago

Comments

Sk8erPeter’s picture

Status: Active » Closed (won't fix)

I'm sorry, this behaviour is rather related to HTML5 Tools, because it changes the default field's 'email' key to 'value' - I posted a longer explanation with screenshots here: http://drupal.org/node/1482482#comment-6468246.
I mark this issue as "closed (won't fix)", because I suppose this should be done by HTML5 Tools' developers.

hass’s picture

Status: Closed (won't fix) » Active

Email should follow the rest of the world and also use value.

Sk8erPeter’s picture

@hass: I agree. :)

hass’s picture

I postponed linkchecker integration because of this inconsistent behaviour in past.

jade.mese’s picture

Subscribe

jade.mese’s picture

Will there be a fix for this issue?

Anonymous’s picture

Also encountering this problem. Subscribing.

loophole080’s picture

latest HTML5 Tools dev has resolved the issue (see thread in #1), at least in terms of no more error messages

jordan8037310’s picture

Issue summary: View changes

Also experiencing this issue. Resolution in the works?

joey-santiago’s picture

Version: 7.x-1.2 » 7.x-1.3
StatusFileSize
new651 bytes

Still happening in 1.3.

Here's a patch :)

hanskuiters’s picture

Patch #10 works fine for now.
Edit: patch is not correct, it just removes the message. Value for this field isn't being saved on add or edit.

hanskuiters’s picture

I can confirm as stated in #8 that latest HTML5 Tools dev solves this issue. See #1482482: Email field widget type causes validation error when used with Email Field module

kenorb’s picture

Status: Active » Needs review