added possibility to redefine the showErrors method for the specified form