{{userFormGroup.controls.name.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}}