moved input filter to form class; added input filter for beginTime and endTime