Editor in Form

Hi,

I currently want to add an editor in my dhtmlxForm, based on this sample : http://www.dhtmlx.com/docs/products/dhtmlxForm/samples/02_items/11_editor.html.

I encountered a problem with image’s path.

Here is the code :

var f = [{type: "fieldset", name: "group1", label: "Legend1", list: [{type: "editor", name: "message", label: "Message", inputWidth: "450px", inputHeight: "250px"}, {type: "hidden", name: "id"}]}];
var myForm = new dhtmlXForm("divId", f);

Toolbar’s images are not loaded.
How can I, in this example, specify the path to get images (similar to setImagePath() ).

Thx

Hi,

the path to editor icons can be defined by dhtmlx.image_path:

dhtmlx.image_path = “images/”;

It should be set before form initialization