How to attach VAULT to form container

Searching for a solution to attach a vault to a form container.

I know there´s a upload object for form but I need add. functions offered only by the full version of vault.

I try this:

var myvc = myinputform.getContainer("mycontainer")

myvc.innerHTML = “

”;

var mylink = “any link here”;

var myuploader = new dhtmlXVaultObject({
container: “vaultObj”, // html container for vault
uploadUrl: mylink // html4/html5 upload url
});

myuploader.setHeight(150);
myuploader.setWidth(500);

Something is attached but visible only as 1 small black point visible.

You can add a HTML template to the form
https://docs.dhtmlx.com/form__controls_list.html#template

And init the vault inside the added HTML container.
Or, as a more complex alternative, there is a way to add custom form controls
https://docs.dhtmlx.com/form__custom_item.html