We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gw-capitilize-submitted-data.php
1 parent 63b5461 commit 5f98c6bCopy full SHA for 5f98c6b
gravity-forms/gw-capitilize-submitted-data.php
@@ -28,7 +28,7 @@ function gw_capitalize_submitted_data( $form ) {
28
}
29
} else {
30
$input_key = sprintf( 'input_%s', $field['id'] );
31
- if ( is_array( $_POST[ $input_key ] ) ) {
+ if ( $field->type == 'list' ) {
32
$_POST[ $input_key ] = array_map( function( $value ) {
33
return ucwords( strtolower( $value ) );
34
}, $_POST[ $input_key ] );
0 commit comments