Support » Plugin: Contact Form 7 » error with non existing acceptance field

  • Resolved luzram

    (@luzram)


    Hi, this is driving me crazy… every form on this site is failing because of this line of code..

    $.ajax( {
    type: ‘POST’,
    url: wpcf7.apiSettings.getRoute(
    ‘/contact-forms/’ + wpcf7.getId( $form ) + ‘/feedback’ ),
    data: formData,
    dataType: ‘json’,
    processData: false,
    contentType: false
    } ).done( function( data, status, xhr ) {
    ajaxSuccess( data, status, xhr, $form );
    $( ‘.ajax-loader’, $form ).removeClass( ‘is-active’ );
    } ).fail( function( xhr, status, error ) {
    var $e = $( ‘<div class=”ajax-error”></div>’ ).text( error.message );
    $form.after( $e );
    } );
    };

    it returns this object:

    “{“into”:”#wpcf7-f1296-p62-o1″,”status”:”validation_failed”,”message”:”Uno o más campos tienen un error. Por favor revisa e inténtalo de nuevo.”,”invalidFields”:[{“into”:”span.wpcf7-form-control-wrap.accept_privacy_policy”,”message”:”You must accept our Privacy Policy.”,”idref”:null}]}”

    but there is no acceptance field, no privacy policy to actually accept. And I’ve tried adding an acceptance field and it still gets the same error.

    I’ve created new forms, just in case, I’ve deactivated other plugins, I’ve refreshed V3 keys, I’ve deleted the plugin and installed it again…

    I have CF7 Versión 5.1.1 and WP 5.0.3

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘error with non existing acceptance field’ is closed to new replies.