I want the value of "total.text to change when a user selects a value from a drop down menu. I am building a form that has several drop down menus on it and the value for “yes” is 100 and value for “no” is 0. I want the total point value in total.text to increase in value when a they select yes or no, so the the total point value is saved in DB at the same time as their selections so the addition needs to happen on each dropdown change. I am new to Javascript and everything I have tried comes up with errors in the code.
Dropdown 1 = yes (100)
Dropdown 2 = no (0)
Dropdown 3 = yes(100)
Total points = 200