• Good evening,

    In the scripts.js file

    wp-content\plugins\contact-form-7\includes\js\scripts.js

    Can I change this code section within:

    if ( 'mail_sent' == data.status ) {
    	$form.each( function() {
    		this.reset();
    	} );

    So that my form fields do not clear after the form submits?

    Is this safe and what should I change to the code?

    thanks,

  • The topic ‘modify code so form won’t reset after sending’ is closed to new replies.