Formidable.Classes.Radio = Formidable.Classes.RdtBaseClass.extend({
	isParentObj: function() {
		return this.config.bParentObj == true;
	},
	getValue: function() {
		if(this.isParentObj()) {

			console.log(this.config.radiobuttons);
			for(var k in this.config.radiobuttons) {

				if(this.oForm.o(this.config.radiobuttons[k]).domNode().checked) {
					return this.oForm.o(this.config.radiobuttons[k]).domNode().value;
				}
			}
		}
		
		return "";
	}
});