# Reset Form Button

**URL:** <https://community.gravityforms.com/t/reset-form-button/15554>\
**Category:** Get Help\
**Tags:** reset-form, reset-button\
**Created:** [July 18, 2023, 6:46pm UTC](https://community.gravityforms.com/t/reset-form-button/15554 "2023-07-18T18:46:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![faisalahammad](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/faisalahammad/32/13948_2.png) [@faisalahammad](https://community.gravityforms.com/u/faisalahammad)\
**Post date:** [July 18, 2023, 11:23pm UTC](https://community.gravityforms.com/t/reset-form-button/15554/2 "2023-07-18T23:23:41Z")

</div>

If you want to eliminate the error message regarding the required field validation, the solution available on this forum topic can be followed. 👇

> [@How to remove "\*required field" notice and where to put the code? \[RESOLVED\]](https://community.gravityforms.com/t/how-to-remove-required-field-notice-and-where-to-put-the-code-resolved/14527/4):
>
> Sure, take your time, and let me know how it goes! Here’s an example to help you insert your code into the functions.php file. smiley \<?php // code // code // code // and // lots of codes // your new code add\_filter( 'gform\_required\_legend', function( $legend, $form ) { return '\* indicates required fields'; }, 10, 2 ); // ---- OR ---- add\_filter( 'gform\_required\_legend', '\_\_return\_empty\_string' ); // make sure to put it before the end of the line ?\>

Give it a try, and let me know how that goes! 😄

---

_[View the full topic](https://community.gravityforms.com/t/reset-form-button/15554)._
