auto-fill for dateSelect template