Well there is no way to clear a single option radio button through the GUI. I am not even certain if you can do this via FormAPI. you set a radio button with a radioItem.setValue(someIndex); where someIndex is the 0 based index of the option to be set. Obviously you do not want any set. You can try setValue() and see if that clears it.
I am including the images for each radio button in the backgrond using css
What exactly does styling have to do to functionality?If memory serves in one of your former threads I've proposed that you style a single radio buttonItem with the "combined" Item/Container's background Image that encapsulates all four Icons.
Click the radio button to the right of Article_Layout_1 first, then click the radio button to the left...
I could not increase the space between the options...
Since I don't have the css or your images I am not sure this will really work for you. But here's something that uses removing item options to give the appearance of unselecting the other radio buttons. It has some visual quirks, but you may be able to work through them.Note: I changed out your options values to something else in my code, just because they bugged me.[PHP]init();function init(){ IWEventRegistry.addItemHandler("/Article/layout/Article_Layout_0","onItemChange", changeRadioButtons); IWEventRegistry.addItemHandler("/Article/layout/Article_Layout_1","onItemChange", changeRadioButtons); IWEventRegistry.addItemHandler("/Article/layout/Article_Layout_2","onItemChange", changeRadioButtons); IWEventRegistry.addItemHandler("/Article/layout/Article_Layout_3","onItemChange", changeRadioButtons);}function changeRadioButtons(item){ if(item.getName() == "/Article/layout/Article_Layout_0"){ removeAndRecreateItems(); IWDatacapture.getItem("/Article/layout/Article_Layout_0").setValue(0); } if(item.getName() == "/Article/layout/Article_Layout_1"){ removeAndRecreateItems(); IWDatacapture.getItem("/Article/layout/Article_Layout_1").setValue(0); } if(item.getName() == "/Article/layout/Article_Layout_2"){ removeAndRecreateItems(); IWDatacapture.getItem("/Article/layout/Article_Layout_2").setValue(0); } if(item.getName() == "/Article/layout/Article_Layout_3"){ removeAndRecreateItems(); IWDatacapture.getItem("/Article/layout/Article_Layout_3").setValue(0); }}function removeAndRecreateItems(){ IWDatacapture.getItem("/Article/layout/Article_Layout_0").removeOption(0); IWDatacapture.getItem("/Article/layout/Article_Layout_1").removeOption(0); IWDatacapture.getItem("/Article/layout/Article_Layout_2").removeOption(0); IWDatacapture.getItem("/Article/layout/Article_Layout_3").removeOption(0); IWDatacapture.getItem("/Article/layout/Article_Layout_0").setLabel(""); IWDatacapture.getItem("/Article/layout/Article_Layout_1").setLabel(""); IWDatacapture.getItem("/Article/layout/Article_Layout_2").setLabel(""); IWDatacapture.getItem("/Article/layout/Article_Layout_3").setLabel(""); newOptions = new Array(); newOptions[0] = new Option("Article_Layout_0", "aaa", false, false); IWDatacapture.getItem("/Article/layout/Article_Layout_0").setOptions(newOptions); newOptions = new Array(); newOptions[0] = new Option("Article_Layout_1", "bbb", false, false); IWDatacapture.getItem("/Article/layout/Article_Layout_1").setOptions(newOptions); newOptions = new Array(); newOptions[0] = new Option("Article_Layout_2", "ccc", false, false); IWDatacapture.getItem("/Article/layout/Article_Layout_2").setOptions(newOptions); newOptions = new Array(); newOptions[0] = new Option("Article_Layout_3", "ddd", false, false); IWDatacapture.getItem("/Article/layout/Article_Layout_3").setOptions(newOptions);}[/PHP]
I am not unselecting them. Just removing and recreating them.
Understand?