title: Form validation server side in wordpress
body: <p>I am new to wordpress.  I have a custom contact form in frontend and i have to validate the data.</p>
  
  <p>Will I have to make validation class or is there any hooks provided by wp.</p>