I am using a custom form with two hidden text areas which should be visible when the user selects a particular option from a radio box. I included onchange event of radio box and called the Javascript function in Details section of custom form
(Form Question > Option List > Details > Question Options > Entered js call in "Extras" field.). I am getting null value when I want to retrieve the radio box in the js file using simple document.getElementById("q994:q3"). Any help is appreciated.
I would use jQuery if I were you. That way you can bind the events rather than doing nasty inline javascript. You might have an easier time this way.