а

attach URL into form container


#1

can i attach a url into form container?

var formData = [
{
type:“container”,
name: “photo”,
label: “Select Product”,
inputWidth: 330,
inputHeight: 200
}
];
var myForm = new dhtmlXForm(“myForm”, formData);

Thanks.

Jose Rodriguez


#2

You can attach an arbitrary HTML to the form, but any inputs in such HTML will be ignored by API of form widget
As for url, you can place an iframe, or use webix.ajax to fetch the data and paste result in the form.

docs.dhtmlx.com/form__controls_l … l#template


#3

Thank you very much


#4

Is it possible for someone to post an example please?