{{userFormGroup.controls.name.errors.startsWith.message}}
You can enter value which starts with 'Senior'
If you want to apply conditional validation on 'Profession' then you need to add 'name' input as 'Bharat'.
Conditional Expression with type 'function'
{{userFormGroup.controls.profession.errors.startsWith.message}}
You can enter value which starts with '#'
If you want to apply conditional validation on 'Task Id' then you need to add 'name' input as 'Bharat'.
Conditional Expression with type 'string'
{{userFormGroup.controls.taskId.errors.startsWith.message}}
Input should startsWith `R`
Shows custom message
{{userFormGroup.controls.company.errors.startsWith.message}}