title: How to validate the select drop-down menu with express-validator in nodejs?
body: <p>So this is the dropdown in handelbar page and I want to validate it with express-validator.
  Condition to be fulfilled: If the selected option is not &quot;Done&quot; then I want send the error above the select field in handlebar as &quot;Select Done to proceed&quot;.</p>
  <pre><code>&lt;select name=&quot;sources&quot; id=&quot;{{commonID}}&quot; class=&quot;custom-select sources&quot; placeholder=&quot;{{status}}&quot;&gt;
        &lt;option value=&quot;0&quot;&gt;In Progress&lt;/option&gt;
        &lt;option value=&quot;1&quot;&gt;Done&lt;/option&gt;
        &lt;option value=&quot;2&quot;&gt;Rejected&lt;/option&gt;
      &lt;/select&gt;
  </code></pre>
  <p>How can achieve that?
  Help please!!!</p>