Hello,
When I switched to Dhtmlx V3 my form stopped loading properly.
I initialize HTML form like this:
pform = new dhtmlXForm("formdemo");
Form code is:
<form id="personnel_form" action="" name="personnel_form">
<div id="formdemo" class="formContainer" style="height:97%;overflow:auto;">
<fieldset><legend>ID & Photo</legend>
<ul class="form hvv">
<li>
<label></label>
<ul class="vhh" style="background-color:#FFF">
<li><label>ID</label><input name="id" bind="id" type="text" readonly/></li>
<li class="required"><label>Code</label><input name="code" bind="code" type="text" validate="NotEmpty"/></li>
<li><label>Active</label><input name="isactive" bind="isactive" type="checkbox" /></li>
<li>
<label></label><input type="button" value="Upload Photo"/>
</li>
</ul>
</li>
<li>
<label></label>
<ul class="vvv" style="background-color:#FFF">
<li>
<input name="photo_path" bind="photo_path" type="image" src="./images/nophoto.gif" style="width:100px;height:120px;"/>
</li>
</ul>
</li>
</ul>
</fieldset>
etc. etc.
Then I load the form using :
pform.load("loadform.php?id=1");
If I switch back to older version it still works fine, but in V3 form is empty after Load.
Thank you