Disabling the date fields in the calendar popup

Hi

I have a requirement where in i should disable the date fields in the calendar popup.
I have used type=“date” in my datasource for the date fields to be displayed in the listgrid. When i click on the calendar icon i get a calendar popup which displays all the dates. I want only specific dates to be displayed. Say i want only dates between 14th April 2008 to 15th July 2008 to be enabled for the user to select from the popup. How it can be achieved.

Thanks
RM

I tried using

validators:[{startDate:4/12/2008, endDate:4/23/2008}]

Its not working… what is right way to achieve this.

You need to add at least type:“dateRange” to that validator definition.