Closed (fixed)
Project:
Inline Form Errors
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jan 2012 at 16:22 UTC
Updated:
14 Nov 2012 at 23:00 UTC
Jump to comment: Most recent file
Hi!
I have installed this module and everything works except error message for email cck field. Email format validation works but if you leave blank it shows as general error message, not under email field.
Anyone helps?
Thank you!
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1398756-email_field_is_required_not_working.patch | 479 bytes | ain |
| email_valiadation.jpg | 24.6 KB | euphoric_mv |
Comments
Comment #1
egifford commentedI'm also having this issue with Webform 6.x-3.17. I think it has to do with the field type that webform is using: webform_email.
Until the module developers have a chance to to look into it, a quick and dirty fix is to add 'webform_email' to the list of supported field types in the function ife_field_types() in the file ife.module.
This is a great module, btw!
Comment #2
loophole080 commentedthe fix described does not work with webform 3.17, 3.18 or dev unfortunately - try it and the email field doesn't render
also in webform 3.18 the "webform_" prefix has been removed from the email component (I also tried using just "email" instead, but still no joy)
Comment #3
Dret commentedSame problem!
Comment #4
ain commentedI can confirm the issue.
Also for a non-required email field with the incorrectly formatted email the error appears at the top of the node and is not wrapped below the email field.
I think there's no easy solution to the problem since IFE relies on Forms API that doesn't support HMTL5 controls. AFAIK it is being developed for Drupal 8.
Comment #5
ain commentedConsidering the above suggestion, I'm attaching a patch. webform_email addition to extras works both in Webform 6.x-3.17 and 6.x-3.18.
Comment #6
stijndm commentedNow available in the latest dev version