fixed error msg not showing when condition is met
added regex validation to name and mobile no.