kevin.frey
(Handsome Jack)
January 16, 2026, 9:16pm
1
Hi…
Is there a way to disable validation on a form when it’s submitted? I’d like to keep the Required labels on certain fields, but just not validate the form at all.
Long story short, I have a ton of custom validation and it’s just easier to do it all that way.
Thank you!
/kevin
chrisegg
(Chris Eggleston (Gravity Forms))
January 16, 2026, 11:41pm
2
You can’t disable validation, but you could use the gform_validation filter to override the validation result for all or one form:
The "gform_validation" filter allows custom validation logic to be used by Gravity Forms when a form is submitted. This allows more granular validation of fields than the default validation used.
Est. reading time: 4 minutes
All Forms
add_filter( 'gform_validation', function( $validation_result ) {
$validation_result['is_valid'] = true;
return $validation_result;
});
Single form using the form ID
add_filter( 'gform_validation_ID', function( $validation_result ) {
$validation_result['is_valid'] = true;
return $validation_result;
});
You can use the following documentation to determine where to put your Custom PHP:
Depending on what code you are trying to add, and the complexity of the theme you are using, there can be a number of different places that code snippets can be added to extend your forms. This article covers most of the common options. | In this...
Est. reading time: 2 minutes
2 Likes
kevin.frey
(Handsome Jack)
January 17, 2026, 3:43pm
3
Hi, Chris–
This is absolutely brilliant! Thank you so much for this. You’re a lifesaver.
/kevin
2 Likes