Highlighted

Add radio button with script

Avatar

Guest

31-07-2008

Hi All



On my form i have RadioButtonList with one radio button in it. I want to do next, on button click new radio button into the RadioButtonList should appear. I tried something like this:



var oNode = xfa.form.createNode("radioButton");

questionary.#subform[0].RadioButtonList.nodes.append(oNode);



but got an error "argument mismatch".



Could you help me with this issue?