Title: Bug/Error: Form doesn&#8217;t hide fast enough
Last modified: September 6, 2017

---

# Bug/Error: Form doesn’t hide fast enough

 *  Resolved [Luca](https://wordpress.org/support/users/screenload/)
 * (@screenload)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/bug-error-form-doesnt-hide-fast-enough/)
 * When entering for an event the form becomes transperent but is still clickable!
   
   Impatient users can click the submit button multible times to enter 2 or more
   times with the same adress!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbug-error-form-doesnt-hide-fast-enough%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [roundupwp](https://wordpress.org/support/users/roundupwp/)
 * (@roundupwp)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/bug-error-form-doesnt-hide-fast-enough/#post-9472346)
 * Hey again Screenload,
 * The plugin does also check for duplicate emails server-side to prevent someone
   bypassing the JavaScript check but you are right, this can be improved.
 * The latest version (2.0.1) now disables the submit button as soon as a user starts
   typing in the email field and won’t enable it again until the address is checked.
 * Let me know if you have more questions about this!
 * – Craig
 *  Thread Starter [Luca](https://wordpress.org/support/users/screenload/)
 * (@screenload)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/bug-error-form-doesnt-hide-fast-enough/#post-9472403)
 * Just tested it, I don’t know if it’s just me but when the E-Mail is correct and
   the user submits the form the script changes the opacity of the form to “.1” 
   and shows the loader gif.
 * BUT in the time the loader is showing the button can still be clicked and the
   E-Mail gets put in several times: [http://puu.sh/xsTaQ/fbe2b4e2b5.png](http://puu.sh/xsTaQ/fbe2b4e2b5.png)(
   Even if the success message is showing it’s still clickable [http://puu.sh/xsTmf/d25de5ced1.png](http://puu.sh/xsTmf/d25de5ced1.png)).
 * I think it would be a more elegant way to hide the form completely and just showing
   the loader gif 🙂
 *  Plugin Author [roundupwp](https://wordpress.org/support/users/roundupwp/)
 * (@roundupwp)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/bug-error-form-doesnt-hide-fast-enough/#post-9472460)
 * Hello again,
 * Yes it looks like you are right I’m seeing the same thing. Sorry I misunderstood
   before!
 * I’ll add this into the existing update once I test it a bit more. In the mean
   time you can add the following line of code to the rtec-scripts.js file on line
   219:
 * `$rtecEl.find('input[name=rtec_submit]').attr('disabled',true);`
 * You will also want to add this code to line 284:
    `$rtecEl.find('input[name=rtec_submit]').
   removeAttr('disabled').css('opacity',1);`
 * You may also need to clear your browser cache to see that change after doing 
   this.
 *  Thread Starter [Luca](https://wordpress.org/support/users/screenload/)
 * (@screenload)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/bug-error-form-doesnt-hide-fast-enough/#post-9472494)
 * You’re the man!
    It works fine now!
 * Looking forward to the updates! THANK YOU 🙂
 *  Plugin Author [roundupwp](https://wordpress.org/support/users/roundupwp/)
 * (@roundupwp)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/bug-error-form-doesnt-hide-fast-enough/#post-9474525)
 * No problem! Thank you for taking the time to help identify and fix this. I hope
   you have a great rest of your week!
 * – Craig

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Bug/Error: Form doesn’t hide fast enough’ is closed to new replies.

 * ![](https://ps.w.org/registrations-for-the-events-calendar/assets/icon-256x256.
   png?rev=3518819)
 * [Registrations for the Events Calendar - Event Registration Plugin](https://wordpress.org/plugins/registrations-for-the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/registrations-for-the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/registrations-for-the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/registrations-for-the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/registrations-for-the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/registrations-for-the-events-calendar/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [roundupwp](https://wordpress.org/support/users/roundupwp/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/bug-error-form-doesnt-hide-fast-enough/#post-9474525)
 * Status: resolved