Add new form element Roo.form.DayPicker, a row of 7 checkboxes for Mon-Sun.
[roojs1] / examples / form / dynamic.html
1 <!DOCTYPE html 
2       PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
4 <html>
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf8">
7 <title>Forms</title>
8    
9      
10     <link rel="stylesheet" type="text/css" href="../../css/roojs.css"/>
11     <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/> 
12     <link rel="stylesheet" type="text/css" href="../../css/daypicker.css"/> 
13
14
15      <script type="text/javascript" src="../../roojs-debug.js"></script>   
16        
17     <script type="text/javascript" src="../../Roo/form/DayPicker.js"></script>
18   
19     <script type="text/javascript" src="states.js"></script>
20     <script type="text/javascript" src="dynamic.js"></script>
21     <script type="text/javascript" src="../examples.js"></script>&nbsp;
22     
23     <!-- Common Styles for the examples -->
24     <link rel="stylesheet" type="text/css" href="../examples.css" />
25
26
27
28 <style>
29  
30 .roodocs-formblock
31 {
32     border:4px solid #CCCCCC;
33     padding:5px 0pt 5px 10px;
34
35 </style>
36 </head>
37 <body>
38     
39     <h1>Dynamic Forms built with JavaScript</h1>
40     <p>
41         These forms do not do anything and have very little validation. They solely demonstrate
42         how you can use Ext Forms to build and layout forms on the fly.
43     </p>
44     
45     <p>The js is not minified so it is readable. See 
46     <button type="button" onclick="RooDocs.viewSource.show('/dynamic.js')">dynamic.js</button> and 
47     <button type="button" onclick="RooDocs.viewSource.show('/dynamic.html')">dynamic.html</button>
48     .</p>
49     
50     
51     
52     
53     <div style="width:345px;"  class="roodocs-formblock">
54         <h3>Display Form</h3>
55         <div id="form-ct5"></div>
56     </div>
57     
58     
59     <div class="roodocs-formblock" style="width:325px;height:200px">
60         <h3 style="margin-bottom:5px;">Simple Form</h3>
61         <div id="form-ct"></div>
62     </div>
63     <br/>
64      
65     
66     <div style="width:565px;" class="roodocs-formblock">
67         
68             <h3 style="margin-bottom:5px;">Multi-column and labels top</h3>
69             <div id="form-ct2"></div>
70         
71     </div>
72     
73     
74     
75     <br/>
76     <div style="width:345px;"  class="roodocs-formblock">
77         <h3>Fieldsets, labels right and complex fields</h3>
78         <div id="form-ct3"></div>
79     </div>
80     
81     <br/>
82     <div style="width:600px;" class="roodocs-formblock">
83             <h3 style="margin-bottom:5px;">Multi-column, nesting and fieldsets</h3>
84             <div id="form-ct4"> </div>
85     </div>
86     
87     <div class="x-form-clear"></div>
88
89
90
91 </body>
92 </html>