Check documentation for the latest version of dhtmlxSuite attachForm DHTMLX Docs

attachForm

adds a form object to the popup

dhtmlXForm attachForm(object formData);
formDataobjectoptional, form config for api-init
dhtmlXFormdhtmlXForm instance

Example

var myPop = new dhtmlXPopup(...);
var myForm = myPop.attachForm([
    {type: "input", label: "Email Address", name: "email"},
    {type: "password", label: "Password", name: "pwd"}
]);

Back to top