displayErrors is set to false by default