Skip to Content
0
Feb 02, 2016 at 03:11 PM

Blockout all previous dates from current date in datepicker

172 Views

How to customize the datepicker in the CMSCockpit ? All previous dates should be blocked out , user should not be allowed to select only current and future dates , not previous dates .

In ZK http://books.zkoss.org/wiki/ZK_Component_Reference/Input/Datebox adding the constraint="no past,no empty" to the date field will work as per my requirement. Datebox: But how to give the same constraint in the editor.xml of the cmscockpit.