diff --git a/src/app/contact/contact.component.ts b/src/app/contact/contact.component.ts index d0507a6..c7fbf10 100644 --- a/src/app/contact/contact.component.ts +++ b/src/app/contact/contact.component.ts @@ -67,7 +67,7 @@ export class ContactComponent implements OnInit { public send() { this.isSubmitted = true; if(!this.name.invalid && !this.surname.invalid && !this.sender.invalid && - !this.contactForm.email.match('^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$') && + this.contactForm.email.match('^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$') && !this.affiliation.invalid && !this.message.invalid && this.contactForm.recaptcha != '') { this.sendMail(this.properties.admins); }