“indicates required fields” - How to hide it?

Hi, How to hide the text [“indicates required fields” ?
All people knows that * tells the field is required…

1 Like

The filter gform_required_legend can be used…

add_filter( 'gform_required_legend', '__return_empty_string' );
1 Like

Where do we put this? Do we put it in the css code?

add_filter( ‘gform_required_legend’, ‘__return_empty_string’ );

Reference: Where Do I Put This Code?

This is PHP code, so you can add it to a functions.php for the theme (or preferably a child theme) or via a plugin dedicated to custom code snippets.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.