adds a form object to the popup
formData | object | optional, form config for api-init |
dhtmlXForm | dhtmlXForm instance |
var myPop = new dhtmlXPopup(...);
var myForm = myPop.attachForm([
{type: "input", label: "Email Address", name: "email"},
{type: "password", label: "Password", name: "pwd"}
]);
Back to top