add remoteValidation attributes isValidPath errorMessagePath