Body: <p>This is a fairly longstanding problem on a D7/Civi site that I'd love to sort out. The site runs a lot of events using CiviCRM. The Online Registration tab for event configuration should present a drop-down to enable me to choose profiles to include on my registration form, but all I see is a text field (I can enter the profile ID and this works), and it won't let me add another profile.</p>
  <p>Also the fields for introductory text and footer text, which should bring up CKEditor when clicked into, are just text fields, as is the confirmation email text field.</p>
  <p>The browser console reports an error:
  TypeError: undefined is not an object (evaluating 'date_format.indexOf')
  and shows a reference to <a href="https://myseite.com/sites/all/modules/civicrm/bower_components/jquery/dist/jquery.min.js" rel="nofollow noreferrer">https://myseite.com/sites/all/modules/civicrm/bower_components/jquery/dist/jquery.min.js</a></p>
  <p>What might be causing this problem, and what steps can I take to fix it?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-07-25T14:46:29.363Z
Comments.Text: Are you using Angular profile extension?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-07-30T09:06:33.107Z
Comments.Text: No. Should I be?
Comments.UserDisplayName: Graham
Tags: <civievent><javascript>
Title: How to resolve a Javascript error on Event setup?
ThreadText: # How to resolve a Javascript error on Event setup?
  
  (Asked by: username_0 on 2024-07-25)
  
  This is a fairly longstanding problem on a D7/Civi site that I'd love to sort out. The site runs a lot of events using CiviCRM. The Online Registration tab for event configuration should present a drop-down to enable me to choose profiles to include on my registration form, but all I see is a text field (I can enter the profile ID and this works), and it won't let me add another profile.
  
  Also the fields for introductory text and footer text, which should bring up CKEditor when clicked into, are just text fields, as is the confirmation email text field.
  
  The browser console reports an error:
  TypeError: undefined is not an object (evaluating 'date\_format.indexOf')
  and shows a reference to <https://myseite.com/sites/all/modules/civicrm/bower_components/jquery/dist/jquery.min.js>
  
  What might be causing this problem, and what steps can I take to fix it?
  
  **Tags:** civievent, javascript
  
  > **Comments:**
  > **username_1**: Are you using Angular profile extension?  
  > **username_0**: No. Should I be?  
  
  ---
  
  ## 0 answers
  
  