• Dear,

    Can you please add a valid class to valid fields? Something like this:

    in script.js add
    $form.find(‘.wpcf7-form-control’).addClass(‘wpcf7-valid’);

    after
    $form.removeClass(‘invalid spam sent failed’);

    and add
    $form.find(n.into).find(‘.wpcf7-form-control’).removeClass(‘wpcf7-valid’);

    after
    $form.find(n.into).wpcf7NotValidTip(n.message);

    Regards

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘add valid class’ is closed to new replies.