If you want to apply conditional validation on 'First name' or 'Middle Name', then you need to add 'username' input as 'jonathan.feldman'
{{userFormGroup.controls.username.errors.lowerCase.message}}
To apply the validation of lowerCase on 'First Name' field, then enter the value of 'jonathan.feldman' in username textbox.
Conditional Expression with type 'function'
{{userFormGroup.controls.firstName.errors.lowerCase.message}}
To apply the validation of lowerCase on 'Middle Name' field, then enter the value of 'jonathan.feldman' in username textbox.
Conditional Expression with type 'string'
{{userFormGroup.controls.middleName.errors.lowerCase.message}}
{{userFormGroup.controls.lastName.errors.lowerCase.message}}