<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxform_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxform.js"></script>
<script>var myForm;
function doOnLoad() {
var formXMLString = '<items>' + '<item type="settings" position="label-left" labelWidth="100" inputWidth="120"/>' + '<item type="fieldset" name="data" inputWidth="auto" label="Welcome">' + '<item type="radio" name="type" labelWidth="auto" position="label-right" checked="true" label="Already have account">' + '<item type="input" value="p_rossi" label="Login"/>' + '<item type="password" value="123" label="Password"/>' + '<item type="checkbox" checked="true" label="Remember me"/>' + '</item>' + '<item type="radio" name="type" labelWidth="auto" position="label-right" label="Not registered yet">' + '<item type="input" value="Patricia D. Rossi" label="Full Name"/>' + '<item type="input" value="p_rossi@example.com" label="E-mail Address"/>' + '<item type="input" value="p_rossi" label="Login"/>' + '<item type="password" value="123" label="Password"/>' + '<item type="password" value="123" label="Confirm Password"/>' + '<item type="checkbox" label="Subscribe on news"/>' + '</item>' + '<item type="radio" name="type" labelWidth="auto" position="label-right" label="Guest login">' + '<item type="select" label="Account type">' + '<option value="admin" label="Admin"/>' + '<option value="org" label="Organiser"/>' + '<option value="poweruser" label="Power User"/>' + '<option value="user" label="User"/>' + '</item>' + '<item type="checkbox" label="Show logs window"/>' + '</item>' + '<item type="button" value="Proceed"/>' + '</item>' + '</items>';
myForm = new dhtmlXForm("myForm");
myForm.loadStructString(formXMLString);
}
</script>
<div id="myForm" style="height:500px;"></div>