I m doing a validation plugin which will do validations and will be used by different entities. I need to display field name in error message. Is it possible to read 'Display Name' of an attribute in plugin ? Also how to clear a field and set cursor to it after throwing an error from plugin ?
I highly appreciate your help in this regard.