• Resolved Luca

    (@screenload)


    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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author roundupwp

    (@roundupwp)

    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

    (@screenload)

    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: https://puu.sh/xsTaQ/fbe2b4e2b5.png (Even if the success message is showing it’s still clickable https://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

    (@roundupwp)

    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

    (@screenload)

    You’re the man!
    It works fine now!

    Looking forward to the updates! THANK YOU ??

    Plugin Author roundupwp

    (@roundupwp)

    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.