Body: <p>We have an issue where whenever a user tries to move to the confirmation page of an event registration (or contribution) page they are getting the browser message 'Are you sure you want to leave this site' popup.</p>
  
  <p>See <a href="https://portal.communityfirstyorkshire.org.uk/civicrm/event/register?id=80&amp;reset=1" rel="nofollow noreferrer">https://portal.communityfirstyorkshire.org.uk/civicrm/event/register?id=80&amp;reset=1</a>. Try to complete the form and continue. </p>
  
  <p>Has anyone else seen this issue. There is no custom code on this system which would affect this functionality. </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-19T12:39:14.607Z
Comments.Text: Are you using strip payment processor?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-19T12:51:29.297Z
Comments.Text: Not an answer as such, but something's not setting `data-warn-changes="true"` on the form element. Doing so manually makes the form submit without the warning.
Comments.UserDisplayName: Christian Wach
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-19T18:37:45.150Z
Comments.Text: Which civicrm version and drupal version is installed?
Comments.UserDisplayName: Hassan Farooq
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-19T21:31:30.120Z
Comments.Text: have seen discussion about this elsewhere - not this but will link to it anyway - https://civicrm.stackexchange.com/questions/26905/civievent-selecting-pay-later-option-causes-the-browser-to-show-are-you-sure
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-22T13:59:47.290Z
Comments.Text: Ah, yes it is something to do with stripe. Non paid events don't have this issue.
Comments.UserDisplayName: Oliver Gibson
Tags: <civievent>
Title: 'Are you sure you want to leave this site' popup message issue on event and contribution forms
ThreadText: # 'Are you sure you want to leave this site' popup message issue on event and contribution forms
  
  (Asked by: username_0 on 2018-10-19)
  
  We have an issue where whenever a user tries to move to the confirmation page of an event registration (or contribution) page they are getting the browser message 'Are you sure you want to leave this site' popup.
  
  See <https://portal.communityfirstyorkshire.org.uk/civicrm/event/register?id=80&reset=1>. Try to complete the form and continue.
  
  Has anyone else seen this issue. There is no custom code on this system which would affect this functionality.
  
  **Tags:** civievent
  
  > **Comments:**
  > **username_1**: Are you using strip payment processor?  
  > **username_2**: Not an answer as such, but something's not setting `data-warn-changes="true"` on the form element. Doing so manually makes the form submit without the warning.  
  > **username_3**: Which civicrm version and drupal version is installed?  
  > **username_4**: have seen discussion about this elsewhere - not this but will link to it anyway - https://civicrm.stackexchange.com/questions/26905/civievent-selecting-pay-later-option-causes-the-browser-to-show-are-you-sure  
  > **username_0**: Ah, yes it is something to do with stripe. Non paid events don't have this issue.  
  
  ---
  
  ## 0 answers
  
  