fixed regex for validating a photo
wrote error message transform for multi value attribute types