• Resolved Samot80

    (@samot80)


    My form does not disable the submit button.

    <h2>Formulario de Contacto</h2>
    <label>Nombre *[text* nombre akismet:author ] </label>
    <label>Correo Electrónico *[email* correo akismet:author_email ]</label>
    <label>Asunto *[select* asunto include_blank "Contactar" "Informar error" "Pedir Información" "Solicitar baja de publicación" "Unirse a Lacawa"]</label>
    <label>Mensaje *[textarea* Mensaje placeholder "Type here..." ]  </label>
    <strong>[acceptance Acepto accept-this-1] He leído y acepto el <a href="/privacy-policy/" target="_blank">Aviso de Privacidad</a>. y los <a href="/terminos-y-condiciones/" target="_blank">Términos y condiciones de uso</a>.  [/acceptance]</strong>
    [submit "Enviar"]

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter Samot80

    (@samot80)

    Generatepress

    I have another Contact Form7 form on the same site if it works correctly, for example:
    https://lacawa.com/sube-tu-publicacion/

    Thread Starter Samot80

    (@samot80)

    An error in the code that I uploaded, I corrected it and it works fine now. Apologies.

    function deregister_cf7_js() {
    if ( !is_page(array( 'remocion-de-contenido-con-copyright', 'contacto', 'sube-tu-publicacion' ) )) {
    wp_deregister_script( 'contact-form-7');
    }
    }
    add_action( 'wp_print_scripts', 'deregister_cf7_js' );
    
    function deregister_ct7_styles() {
    if ( !is_page(array( 'remocion-de-contenido-con-copyright', 'contacto', 'sube-tu-publicacion' ) )) {
    wp_deregister_style( 'contact-form-7');
    }
    }
    add_action( 'wp_print_styles', 'deregister_ct7_styles');
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Acceptance box does not disable the submit button’ is closed to new replies.