Popup Closes on Submit Issue

Hi There,

I’ve created a popup for login / registration on my website, and it works well for the most part. However, I’ve encountered an issue: as soon as I click on “submit,” the popup closes immediately.

This becomes a problem if I have entered my login details incorrectly, or, for instance, when creating a new account in the registration form, if I forget to include the “@” in my email address. Although error messages are displayed, the popup still closes.

Could you guide me on how to adjust the settings so that the popup does not close immediately after I click “submit” on the login or registration form?

Thanks in advance for your help.

Rgds,
Artjom

Having the same issue- did you ever find a fix?

Same issue any luck with this?

Hi @wissam @Artjom @ericaneubauer ,

Kindly provide a link to your form.
Usually you might accidentally configured some additional interactions causing any clicks on the popup triggers another close popup event.

Regards,
Jenn

Hi,

Since I did not find a solution, I didn’t build it and created a full page instead.

Rgds, Artjom

Found a solution by adding this to the footer

<script>
  
document.addEventListener("DOMContentLoaded", () => {

  const sliderIdentifier = 'xuwprx';
  const slider = document.querySelector('.x-slider[data-x-id=' + sliderIdentifier + ']')
  
  slider.addEventListener( 'x_slider:init', () => {
    
      xSlider.Instances[sliderIdentifier].on( 'move', () => {
        doExtrasLottie(slider)
      } );

  })
  
})

</script>