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