title: asp.net required field validator
body: <p>A required field validator should fire only after clicking a submit button</p>
  
  <pre><code>&lt;asp:RequiredFieldValidator id="req" controltovalidate="txtphone" errormessage="please enter the details"&gt;
  &lt;/asp:RequiredFieldValidator&gt;
  </code></pre>