How can I create a form that calculates the totals from selected radio buttons?