amendment to error alerts
added validations for phone using regexp