• Resolved xinita

    (@xinita)


    Hello,

    I am using this plugin to have a registration form opened when clicking on a register button, when this happens, the modal opens up and when all the fields are filled in and I click on the register button, the modal closes up and the whole site refreshes, if I click again on the register button, the modal says the registration was successful.

    I’d like to know how I could keep the modal open in order to show this message, because it’s confusing for the user if it keeps the current behaviour.

    Thank you

    https://wordpress.org/plugins/easy-modal/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    Is your registration form created with a plugin? To keep from closing the modal or refreshing pages your form will need to support and use AJAX to submit the form in the background using javascript.

    Without it the only way to submit the form data is to send it with a page reload and since modals default to hidden when the page loads it doesnt pop back up.

    Hope this helps.

    same here. The form submits in the background, but it still closes down the modal window.

    Check out my site: beta.culturesection.com

    On the Right you will see the “Subscribe” link below a picture and the Form is embedded directly below that. as you can see on form submit it doesnt refresh the page, but when I submit form in the plugin it refreshes the page. Any suggestions?

    Plugin Author Daniel Iser

    (@danieliser)

    It doesn’t appear the forms JS is loading. If your using a shortcode they may be using has_shortcode() to detect if your page contains the shortcode to determine wheather they should load scripts or not. Because the shortcode isn’t in the content of the page but in the footer has_shortcode() doesn’t work.

    See if you can get a response from them on forums and if not ill see what i can do.

    Thread is being marked as resolved due to inactivity, let us know if this is not resolved!

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Registration form in modal’ is closed to new replies.