Hi,
I'm using https://drupal.org/project/field_default_token and put in the token [current-user:mail] but when I saved the field settings, it was blocked with THE VALUE IN E-MAIL IS NOT A VALID EMAIL ADDRESS. . So far the module field default token is working well with all fields except email field. How to bypass the validation in field settings ? Otherwise, I'll have to change to use Text field. Thanks

Comments

nicolas bouteille’s picture

Almost same problem here but in my case I simply don't want the validation to occur on field's settings submit because I want my default value to be "Email" or "Your email"... you know something that is not an email address... how can we disable validation on field settings submit ?

nicolas bouteille’s picture

Looks like in my case I should be using Field Placeholder instead of default value. Makes more sense and validates.

jetwodru’s picture

Hi,
If used on Entityform, I want the email of the logged-in users to appear without filling in again. Alternatively, as you said, put the email of the logged-in users in the placeholder and then fill it up using Rules on Entityform submit or using conditional fields module to hide it for logged-in users and fill in behind the scene. Thanks

janv’s picture

works fine in Field Default Token (7.x-1.3)

janv’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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