Answers.Body: <p>I had the Rules module updated and removed all unused rules(of which we had many), and now the forms are submitting without error</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-17T03:51:22.727Z
Answers.Text: I am having the same problem. This is on a new setup of the Rule to Create Drupal Users.  I did have 2 unused Rules that I deleted per LaurynnLowe's answer, but I still have the same error message.  I am getting 2 Drupal Log messages that might help trouble shoot this.                           
  rules 08/16/2020 - 20:39 Unable to get variable civicrm_user, it is not defined. 
  civicrm_entity 08/16/2020 - 20:39 Cannot create user, email invalid.
Answers.UserDisplayName: Iowa Boy
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-20T11:10:10.310Z
Answers.LastActivityDate: 2019-12-20T11:10:10.310Z
Answers.UserDisplayName: LaurynnLowe
Answers.Body: <p>I just made a test submission.  The double exclamation point is interesting - that's not a string (<code>invalid!!</code>) that appears anywhere in the CiviCRM codebase.</p>
  
  <p>This looks like a Drupal webform - I would check the settings on the webform for that text.  After that, it could be a Drupal module, or even a CiviCRM extension, but it's most likely webform-level validation settings.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-19T00:55:32.843Z
Answers.LastActivityDate: 2019-12-19T00:55:32.843Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>When submitting a webform (links below) on our site, an error message is generated: Cannot create user, email: invalid!!</p>
  
  <p>This error message displays for all webforms and for all email addresses, whether it is a valid email address or not. </p>
  
  <p>In only one of the forms listed below should a drupal user be created. The other two forms are only intended to add people to mailing lists.</p>
  
  <p>What should I be looking at to help understand this?</p>
  
  <p>Webform for Mailing list only:</p>
  
  <p><a href="https://www.jewishideas.org/resources-educators" rel="nofollow noreferrer">https://www.jewishideas.org/resources-educators</a></p>
  
  <p><a href="https://www.jewishideas.org/newsletters-0" rel="nofollow noreferrer">https://www.jewishideas.org/newsletters-0</a></p>
  
  <p>Webform should be adding a free membership, so a user record is desired:</p>
  
  <p><a href="https://www.jewishideas.org/university-membership" rel="nofollow noreferrer">https://www.jewishideas.org/university-membership</a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-19T10:45:46.957Z
Comments.Text: Hi, I had a look and could be your field settings. You could try the ticking the 'Existing Contact' box on the Civi tab (should then change from id="edit-submitted-civicrm-1-contact-1-fieldset-fieldset-civicrm-1-contact-1-email-email"  to id="edit-submitted-civicrm-1-contact-1-email-email" name="submitted[civicrm_1_contact_1_email_email].
Comments.UserDisplayName: RebeccaTregenna
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-17T04:08:55.770Z
Comments.Text: I also tried it with and without the "Existing Contact" checked in the Civi Tab on he webform per Rebecca's comment above
Comments.UserDisplayName: Iowa Boy
Tags: <webform-civicrm>
Title: What would cause Cannot create user, email: invalid!! on an civicrm integrated webform?
ThreadText: # What would cause Cannot create user, email: invalid!! on an civicrm integrated webform?
  
  (Asked by: username_0 on 2019-12-19)
  
  When submitting a webform (links below) on our site, an error message is generated: Cannot create user, email: invalid!!
  
  This error message displays for all webforms and for all email addresses, whether it is a valid email address or not.
  
  In only one of the forms listed below should a drupal user be created. The other two forms are only intended to add people to mailing lists.
  
  What should I be looking at to help understand this?
  
  Webform for Mailing list only:
  
  <https://www.jewishideas.org/resources-educators>
  
  <https://www.jewishideas.org/newsletters-0>
  
  Webform should be adding a free membership, so a user record is desired:
  
  <https://www.jewishideas.org/university-membership>
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: Hi, I had a look and could be your field settings. You could try the ticking the 'Existing Contact' box on the Civi tab (should then change from id="edit-submitted-civicrm-1-contact-1-fieldset-fieldset-civicrm-1-contact-1-email-email"  to id="edit-submitted-civicrm-1-contact-1-email-email" name="submitted[civicrm_1_contact_1_email_email].  
  > **username_2**: I also tried it with and without the "Existing Contact" checked in the Civi Tab on he webform per Rebecca's comment above  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2019-12-20. Score: 1
  
  I had the Rules module updated and removed all unused rules(of which we had many), and now the forms are submitting without error
  
  > **Comments:**
  > **username_2**: I am having the same problem. This is on a new setup of the Rule to Create Drupal Users.  I did have 2 unused Rules that I deleted per username_0's answer, but I still have the same error message.  I am getting 2 Drupal Log messages that might help trouble shoot this.                            rules 08/16/2020 - 20:39 Unable to get variable civicrm_user, it is not defined.  civicrm_entity 08/16/2020 - 20:39 Cannot create user, email invalid.  
  
  ---
  
  ### Answer by username_3 on 2019-12-19. Score: 0
  
  I just made a test submission. The double exclamation point is interesting - that's not a string (`invalid!!`) that appears anywhere in the CiviCRM codebase.
  
  This looks like a Drupal webform - I would check the settings on the webform for that text. After that, it could be a Drupal module, or even a CiviCRM extension, but it's most likely webform-level validation settings.
  
  
  ---
  
  