How to show error message on button submit condition for radio button.I do not know how to do it.If you have any idea please share with me.
submitform(form) {
this.formSubmitted = true;
if (!form.valid) {
alert("Form Not valid");
} else {
alert("Valid");
}
}