1 <!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">-->
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <link rel="stylesheet" type="text/css" href="../../cssX/roojs-all.css"/>
7 <link rel="stylesheet" type="text/css" href="../../cssX/xtheme-slate.css"/>
9 <script type="text/javascript" src="../../roojs-debug.js"></script>
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" />
16 <!-- Common Styles for the examples -->
17 <link rel="stylesheet" type="text/css" href="../examples.css" />
25 border:4px solid #CCCCCC;
26 padding:5px 0pt 5px 10px;
31 <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
32 <h1>Dynamic Forms built with JavaScript</h1>
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.
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>
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>
50 <div style="width:565px;" class="roodocs-formblock">
52 <h3 style="margin-bottom:5px;">Multi-column and labels top</h3>
53 <div id="form-ct2"></div>
60 <div style="width:345px;" class="roodocs-formblock">
61 <h3>Fieldsets, labels right and complex fields</h3>
62 <div id="form-ct3"></div>
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>
71 <div class="x-form-clear"></div>