examples/form/dynamic.js
authorChris <chris@roojs.com>
Tue, 8 Oct 2013 10:49:38 +0000 (18:49 +0800)
committerChris <chris@roojs.com>
Tue, 8 Oct 2013 10:49:38 +0000 (18:49 +0800)
examples/form/dynamic.js

index 2347855..ab2b266 100644 (file)
@@ -554,22 +554,22 @@ Roo.onReady(function(){
     /*
      * ================ form 7 =======================
      */
-//    var form7 = new Roo.form.Form({
-//        labelWidth: 75, // label settings here cascade unless overridden
-//        url:'save-form.php'
-//    });
-//    form7.add(
-//        new Roo.form.Signature({
-//            fieldLabel: 'Signature',
-//            name: 's',
-//            width: 300
-//        })
-//    );
+    var form7 = new Roo.form.Form({
+        labelWidth: 75, // label settings here cascade unless overridden
+        url:'save-form.php'
+    });
+    form7.add(
+        new Roo.form.Signature({
+            fieldLabel: 'Signature',
+            name: 's',
+            width: 300
+        })
+    );
 //
 //    form7.addButton('Save');
 //    form7.addButton('Cancel');
-//
-//    form7.render('form-ct7');
+
+    form7.render('form-ct7');