Support » Plugin: Contact Form 7 » modify code so form won’t reset after sending

  • 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,

  • You must be logged in to reply to this topic.