Added validation into hash to change datetime variables added dynamic fields to forms