Existing form rather than formData object

I am writing a standard form then using

var newDhxForm = new dhtmlXForm("myform");

so I have more control over the line spacing of the elements. Is there any way to add things like type:“label” within the standard <form… element that DhxForm will recognize and turn into the same styled element that it would be if I used the script object method?


If you are using dhtmlXForm against already existing form, it will add only validating, loading, saving capabilities. Component will not change styling of existing form ( so you need to use custom styling for label elements )