Title: Refresh all form fields
Last modified: August 21, 2016

---

# Refresh all form fields

 *  [isfak](https://wordpress.org/support/users/isfak/)
 * (@isfak)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/refresh-all-form-fields/)
 * Hello all,
    I use “Contact Form 7 Multi-Step Forms” plugin to create a multi-
   step form. The problem is that when the user gets back or even reloads the first
   form page, the fields on it have the values existing in the beginning. To fix
   this, I need to reset all form fields when the form loads. I can use JavaScript
   document.getElementById(“myForm”).reset(); on form load. The problem is that 
   I don’t have the elementId of the form. I looked at the code generated by contact
   form 7 and there is no id=”” defined when creating the form. Is it possible that
   I set id somehow so I can do the rest? Thanks in advance
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 1 replies (of 1 total)

 *  [yourstartups](https://wordpress.org/support/users/yourstartups/)
 * (@yourstartups)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/refresh-all-form-fields/#post-5070804)
 * I also want to know this.
    Bump…

Viewing 1 replies (of 1 total)

The topic ‘Refresh all form fields’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [yourstartups](https://wordpress.org/support/users/yourstartups/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/refresh-all-form-fields/#post-5070804)
 * Status: not resolved