I have the following problem with javascript integrated into thymeleaf template. I have the following table with different input fields which are filled up with data from a