title: Is there a way to accept only alphabets as input and not numbers? If numbers are given it should show a validation error as it takes only alphabets
body: <p>I'm creating a form where I give certain fields. 
  For now, an input field with type text. </p>
  
  <p>I have tried giving validation <strong>" required "</strong> but that is not what I am searching for. If a user gives a number as input, it should validate that it takes only alphabets.</p>
  
  <pre><code>&lt;form action="/action_page.php"&gt;
    First name: &lt;input type="text" name="fname"&gt;&lt;br&gt;
    Last name: &lt;input type="text" name="lname"&gt;&lt;br&gt;
    &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Can you help me how can I do this on the go while typing inside the textfield and validate if a number is given</p>