Remove Gravity Forms Required Field Indicator

Jan 23, 2024

2 Min. Read

Share URL

This page may contain affiliate links. Please read my disclaimer for more information.

Symptoms

You’ve just built a new Gravity Forms form and embedded it in your page, but when you preview the page you see a notice that reads, “*” indicates required fields. Maybe you think this is annoying and overstating the obvious, so you want to know how to remove this notice from your forms.

How To Fix It

Currently, there is no setting that you can use to easily disable this notice as you might expect to find in the form settings. Instead, you will need to use a simple code snippet.

The snippet below can be used for all forms across your site:

add_filter( 'gform_required_legend', '__return_empty_string' );

This next snippet can be used to disable this indicator for a single form (where 1 equals the forms ID number):

add_filter( 'gform_required_legend_1', '__return_empty_string' );

If you plan to use the snippet above, you will need to replace the 1 with your forms ID number.

Where to put this code

You can add this snippet to your themes functions.php file, or you can use a functionality plugin like WPCodeBox (recommended).

Need More Help?

If you have an active Gravity Forms license, you can also open a support ticket here.

If you still need help and Gravity Forms support isn’t an option, feel free to use the comments or chat options below.

Photo of author
About the Author
Chris Eggleston
Husband. Father of 4. Grandpa of 2. Chief Problem Solver exploring business systems, technology, AI & faith — helping people solve real problems. @mantiswp @chrisegg

Support Chris - Donate $5

Gravity Wiz Add-Ons

Advertisement

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Related Post

Automatically Switch from a Registration Form to a Waitlist in Gravity Forms

This tutorial shows you how to automatically switch from a registration form to a waitlist form in Gravity Forms using entry limits or attendee tracking with a custom shortcode.

Sep 29, 2025

4 min. read

Using AI + Gravity Forms to Streamline Job Applications

Hiring is tough. Sorting through dozens, or even hundreds, of job applications is time-consuming, repetitive, and prone to human bias. That’s where combining Gravity Forms, Gravity Flow, and AI automation comes in.

Sep 26, 2025

2 min. read

Turn Gravity Forms Image Choice Field into carousel

Problem Recently, I saw a Gravity Forms user looking for a way to style the new Image Choice field. Specifically,...

Jul 14, 2025

3 min. read

Offer Subscription With One-Off Add-On Product Options with Gravity Forms

Want to offer a subscription + one-time add-ons in Gravity Forms? Here’s how to do it using Stripe’s setup fee feature in a single payment feed.

Mar 24, 2025

2 min. read

Gravity Forms A/B Split Testing

Problem We recently received an interesting request from a Gravity Forms user who wanted to know how to do A/B...

Mar 21, 2025

5 min. read

Gravity Forms Field Validation Based on Form Entries

Problem Recently a client reached out with a very specific request for a project she was working on. Simply put,...

Mar 20, 2025

3 min. read