post validation working in html&js