examples/form/dynamic.js
authorChris <chris@roojs.com>
Tue, 16 Oct 2012 08:20:04 +0000 (16:20 +0800)
committerChris <chris@roojs.com>
Tue, 16 Oct 2012 08:20:04 +0000 (16:20 +0800)
examples/form/dynamic.js

index 54ae569..e8aea61 100644 (file)
@@ -11,7 +11,7 @@
  
 var mform;
 var simple;
-\r
+
 Roo.onReady(function(){
 
     Roo.QuickTips.init();
@@ -320,6 +320,12 @@ Roo.onReady(function(){
             width:190
         }),
 
+        new Roo.form.DateField({
+            fieldLabel: 'Date of Birth',
+            name: 'dob',
+            width:190,
+            allowBlank:false
+        }),
         new Roo.form.DateField({
             fieldLabel: 'Date of Birth',
             name: 'dob',