3.5 form focus radio

In 3.5, how can the focus be set to a radio?

 var frmRefferalJson = [
	{type:"label",  label:"Please Select:", position:"absolute",offsetLeft:0, labelWidth:120 , inputWidth:1, labelAlign:"right"},
	{type: "settings", position:"label-right", labelWidth:260, inputWidth:10, labelAlign:"left"},
	{type: "block", xoffsetLeft:20, offsetTop:20, width:"auto", list:[
	{type:"radio", name:"referral_source",  focus:true, value:"17209683",  label: "Friend", checked:false}, 
	{type:"radio", name:"referral_source",  focus:true, value:"17209699",  label: "Other", checked:false}, 
	{type:"button", name:"submit", value:"submit", offsetTop:10, offsetLeft:5}
	]} ]

windows = new dhtmlXWindows();
var winRef= windows.createWindow("winRef",0, 0, 400, 300);
winRef.setText("Referral Source");
formReferral = winRef.attachForm(frmRefferalJson, true);
// now set focus to referral_source[0]

hi

for now form not support such functionality (will added)

dhtmlxForm.prototype.items.radio.setFocus = function(item) {
item.childNodes[item._ll?0:1].childNodes[0].focus();
};

{type:“radio”, name:“referral_source”, value:“17209683”, label: “Friend”, checked:false},

myForm.setItemFocus([“referral_source”,“17209683”]);

Can you please release a version of the pro suite with the known bugs/additions patched?

Hi

please contact us >> sales at dhtmlx dot com