auto populate without clicking date