function to calculate commuter sub total and update form field