if(txtMobileFirst.text?.isPhoneNumber)!{
let alert = UIAlertController(title: "Error", message: "Please enter a valid Mobile number", preferredStyle: UIAlertControllerStyle.alert)
alert.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.default, handler: nil))
self.present(alert, animated: true, completion: nil)
txtEmailFirst.resignFirstResponder()
return false
}