Ext_ Date selection box _ext.form.datefield (GO)

Source: Internet
Author: User

<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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.