Spring Boot Thymeleaf BindingResult

<p th:if="${#fields.hasErrors('age')}">Invalid Age</p>
Smoggy Swan