Add parameter to display errors of required (for static templates)