I am trying to create a form that does a couple of things.
First it checks to see if the user is a member or not a member. This is done through radio buttons. I was able to check if the user is a member or not a member without a problem.

Next the user can select which classes they wish to attend. Here's the tricky part. The classes are all checkboxes. Everytime they check a class, I have to update the price at the bottom of the form. The price depends on whether they are a member or not a member. How would I go about doing this?