Body: <p>I've got an event form that is printing out error messages twice.</p>
  <p><a href="https://i.sstatic.net/gARdM.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/gARdM.png" alt="enter image description here" /></a></p>
  <p>One is 'inline images</p>
  <pre><code>&lt;input class=&quot;required crm-form-radio error crm-inline-error alert-danger&quot; value=&quot;3&quot; type=&quot;radio&quot; id=&quot;CIVICRM_QFID_3_gender_id&quot; name=&quot;gender_id&quot;&gt;
  &lt;label for=&quot;CIVICRM_QFID_3_gender_id&quot;&gt;Other&lt;/label&gt;
  &lt;label id=&quot;gender_id-error&quot; class=&quot;crm-inline-error alert-danger&quot; for=&quot;gender_id&quot;&gt;Required&lt;label for=&quot;CIVICRM_QFID_3_gender_id&quot;&gt;Other&lt;/label&gt;&lt;/label&gt;
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-04T10:38:28.210Z
Comments.Text: What are your CRM and CMS versions? I could not reproduce this issue on Civi 5.37.1 & Drupal 8. I have created an event form with required fields. Then submitted the form without filling it. The client side validation printed the 'This field is required.' error messages for me only once / required field.
Comments.UserDisplayName: akosgarai
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-05T08:13:57.430Z
Comments.Text: Doesn't seem to happen with d8.  D7.82and 5.38.0. There is a javascript file that seems to be adding the second log I10n.js.tpl - web/sites/all/modules/civicrm/templates/CRM/common/l10n.js.tpl
Comments.UserDisplayName: Interlated
Tags: <civievent><error>
Title: How to stop both inline and default error messages on events registration form?
ThreadText: # How to stop both inline and default error messages on events registration form?
  
  (Asked by: username_0 on 2021-09-04)
  
  I've got an event form that is printing out error messages twice.
  
  One is 'inline images
  
  Other
  RequiredOther
  
  **Tags:** civievent, error
  
  > **Comments:**
  > **username_1**: What are your CRM and CMS versions? I could not reproduce this issue on Civi 5.37.1 & Drupal 8. I have created an event form with required fields. Then submitted the form without filling it. The client side validation printed the 'This field is required.' error messages for me only once / required field.  
  > **username_0**: Doesn't seem to happen with d8.  D7.82and 5.38.0. There is a javascript file that seems to be adding the second log I10n.js.tpl - web/sites/all/modules/civicrm/templates/CRM/common/l10n.js.tpl  
  
  ---
  
  ## 0 answers
  
  