Valdus wrote:My main issue at this point is when I disable javascript I cannot get thymeleaf to render an error message about the quantity because it is not a registered variable to the form. What I guess I am asking is how do I get it to see quantity as the registered variable.
Can you post the form you are using here?
Each form has a form backing object, similar to Spring, but is declared with a th:object attribute in the form tag. This corresponds to some POJO in your application code. You can extend this POJO and add the quantity property (with getters and setters, of course) to the new POJO.