<mce:script type= "Text/javascript" ><!--/*Ext.form.DateField Main Configuration table: Altformats string Multiple date input format to form strings, different formats with | separate disableddates Arra Y Disable Select date array disableddatestext String prohibit select date error hint disableddays array Prevent week form array Disableddaystext string prevent week error prompt format string date formats (default ' m/d/y ') m Axvalue date/string allows you to select a maximum date maxtext String Maximum date error message prompt MinValue Date/string allows you to select the minimum date mintext String minimum date error message hint ["09/16/2003", "03/08/2003"] Forbidden to choose 09/16/2003 and 03/08/2003["03/08", "09/16" to prohibit the selection of 03/08 and 09/16["^03/08" each year. With the beginning of the date, the annual 03/08["03/" is forbidden. /2006 "] forbidden to select any day of March 2006 [" ^03 "] ban any day of March*/Ext.onready (function () {Ext.blank_image_url= '.. /extjs2.0/resources/images/default/s.gif '; Ext.QuickTips.init (); Ext.form.Field.prototype.msgTarget= ' side '; var config={title:‘‘, Labelseparator:‘:‘, Labelwidth:80, Bodystyle:' Padding:5 5 5 5 ', Frame:true, Height:100, Width:300, Renderto:' Form ', items:[NewExt.form.DateField ({ID:' Date ', Format:' Y year M month D Day ', MaxValue:' 12/31/2008 ', Maxtext:' The selected date is less than {0} ', MinValue:' 01/01/2008 ', disableddates:["March 12, 2008"),//No selection March 12, 2008width:150, Fieldlabel:' Date selection '})]} var form=NewExt.form.FormPanel (config);});//--></mce:script>
Ext_ Date selection box _ext.form.datefield (GO)