Calendar.setup({ inputField : "${id}", // id of the input field ifFormat : "%d/%m/%Y", // format of the input field showsTime : false, // will display a time selector button : "button_${id}", // trigger for the calendar (button ID) singleClick : true, // double-click mode step : 1 // show all years in drop-down boxes (instead of every other year as default) });