felixarntz / bootstrap-for-contact-form-7

This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.
https://wordpress.org/plugins/bootstrap-for-contact-form-7/
GNU General Public License v2.0
24 stars 18 forks source link

Submit issues #46

Closed ghost closed 6 years ago

ghost commented 7 years ago
  1. The default stylesheet is unqueued; this prevents the loading indicator from working.

    This snippet needs to be reattached.

    div.wpcf7 .ajax-loader.is-active {
    visibility: visible;
    }
    div.wpcf7 .ajax-loader {
    visibility: hidden;
    display: inline-block;
    background-image: url(/wp-content/plugins/contact-form-7/images/ajax-loader.gif);
    width: 16px;
    height: 16px;
    border: none;
    padding: 0;
    margin: 0 0 0 4px;
    vertical-align: middle;
    }
  2. The form is never reset after submitting with validation errors. is-active will stay on the AJAX loader.

  3. The submit button will never be disabled while sending. We have a lot of users sending from mobile devices and currently end up with either lots of duplicates or errors due to recaptcha only passing once.

felixarntz commented 6 years ago

This is fixed with 2915a09970101240a89b43fcb355df8387be3739 and 6a5fd07e5246c5ae602d7692b48af3edeaf2dabe.