edoble2
(Mike Arthur)
August 12, 2022, 5:16am
1
I made a new Gravity form. The form contains certain fields that are required.
So now I have this note that appears on every page which states “* indicated required fields”.
Hie do I remove this from all pages. I do not not need this note.
Please assist in removing it. I set the form’s title and description to False… But the note still comes up. I have no idea how to get rid of it.
uamv
(Joshua Vandercar (Gravity Forms))
August 12, 2022, 2:32pm
2
add_filter( 'gform_required_legend', '__return_empty_string' );
Reference: gform_required_legend
Just a follow up question to this…I’m trying to remove the quotes around the asterisk so that it reads *indicates required fields without the quotes. Can you please advise how I can go about this? Thanks!
uamv
(Joshua Vandercar (Gravity Forms))
September 1, 2022, 8:56pm
4
This should get it done…
add_filter( 'gform_required_legend', function( $legend, $form ) {
return '* indicates required fields';
}, 10, 2 );