Viewing 5 replies - 1 through 5 (of 5 total)
  • That’s probably not too bad. You could simply put this bit of code into your form near your submit button – I haven’t tested it, but it should work.

    <INPUT TYPE=RESET>

    Here are more details, such as one that changes the text in the button.
    https://www.htmlcodetutorial.com/forms/_INPUT_TYPE_RESET.html

    I just modified the code for the submit button into a reset button.

    • Copy the file contact-form-7/modules/submit.php to reset.php.
    • Edit and replace every occurrence of the word ‘submit’ with the word ‘reset’.
    • Upload the new file to your site’s plugins folder.
    • When you press the ‘Generate Tag’ button, you’ll now see the choice ‘Reset button’.

    Thanks. Working Great

    I just modified the code for the submit button into a reset button.

    Copy the file contact-form-7/modules/submit.php to reset.php.
    Edit and replace every occurrence of the word ‘submit’ with the word ‘reset’.
    Upload the new file to your site’s plugins folder.
    When you press the ‘Generate Tag’ button, you’ll now see the choice ‘Reset button’.

    I used this method and I have a reset button option available, but the styling is different from the Submit button. Did I miss something in the CSS files?

    Would be helpful if you gave a link to the web page showing the problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Contact Form 7] Clear Field’ is closed to new replies.