title: Check Before Posting
body: <p>I am using express, and this is my html file code:</p>
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta charset=&quot;UTF-8&quot;&gt;
      &lt;title&gt;title&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
          &lt;form action=&quot;/createaccount&quot; method = &quot;POST&quot;&gt;
              &lt;p&gt;Username&lt;/p&gt;
              &lt;input name=&quot;username&quot; type=&quot;text&quot; value=&quot;username&quot;&gt;
              &lt;p&gt;Password&lt;/p&gt;
              &lt;input name=&quot;password&quot; type=&quot;password&quot; value=&quot;password&quot;&gt;
              &lt;input type=&quot;submit&quot;&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>I want to check if there is no input before posting</p>