fix submission template generation for eastnorth, and datetime fields #5969