Attach slider to form

is there a way to integrate the slider into dhtmlxForm? (like input, select etc.)

There is not built-in support. However, if you initialize form by html, you may try to link a slider to a form field:

[code]

... [/code]

can i do this when i use xml for the form aswel? (xml -> structure)

You may get this input object. And link the slider to it. However, where does the slider need being placed ? You may try to place it as a label:

{type: “input”, name: “field_a”, value: “0”, label:"

"},


];

dhtmlXForm.prototype.items.input.getInput = function(item) {
return item.childNodes[0].childNodes[1].childNodes[0];
}

dhxList = new dhtmlXForm(…);

var inp = dhxList.doWithItem(“field_a”, “getInput”);

var slider =new dhtmlxSlider(“sliderBox”, 200);
slider.linkTo(inp );
slider.init();

how can i load this in xml?

echo ‘’;

?

“<” and “>” should be encoded in the other case the xml will be incorrect:

echo ‘’;

this works under IE but not in Firefox, and is there a way to position the slider after the input?

Storage (MB):
[INPUT] [---------||------------]
Traffic (GB):
[INPUT] [---------||------------]