in this function i want to add pan gstn mobile email validation please suggest
<script type="text/javascript" language="javascript">
function ValidateForm() {
if ($("#txtname1").val() == '') { //alert('Please Enter Name.'); return false; }
}
</script>