title: How to restrict certain words in text field using javascript?
body: <p>I have a contact form in my website. Subject is a text field in this form. I want to restrict users to type certain words in that field.</p>
  
  <p>For example a user type XXX  or MMM in subject field, we need to show error message. </p>