Is this code still there in your javascript file ?
jQuery.validator.addMethod( "lettersonly2", function( value, element ) {
return this.optional( element ) || /^[a-züöäÜÖÄß-\s]+$/i.test( value );
}, "Letters only please" );
Or for new version, you can create a custom regEx and keep the class in your field.
This should be the regEx pattern for your custom letters validation. ^[a-züöäÜÖÄß-\s]+$
Is this code still there in your javascript file ?
jQuery.validator.addMethod( "lettersonly2", function( value, element ) {
return this.optional( element ) || /^[a-züöäÜÖÄß-\s]+$/i.test( value );
}, "Letters only please" );
Or for new version, you can create a custom regEx and keep the class in your field.
This should be the regEx pattern for your custom letters validation. ^[a-züöäÜÖÄß-\s]+$