I have a function that calculates sum of input values. In this form I have checkboxes and number type inputs. I\'m able to make this function work with either only checkboxes or