added append button option to input date