• Resolved Fatih Turan

    (@fatihturan)


    Hi,

    How do I completely disable the JavaScript validation on the front-end side? I’m using ParsleyJS on site-wide and I don’t want to use another validation.

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hello @fatihturan,

    The plugin only uses the default HTML5 form validation that ships in your browser, which you can disable using the following code snippet:

    
    add_filter( 'mc4wp_form_element_attributes', function( $attributes ) {
    	$attributes['novalidate'] = 'novalidate';
    	return $attributes;
    });
    
Viewing 1 replies (of 1 total)
  • The topic ‘Disabling Front-End Form Validation’ is closed to new replies.