two initial functions for calculating number of commuter days and adding value to form field