Required field validation is not working on my form (with calculations)