How can I set a form to calculate total based on user selections?