I need to add 2 radio inputs into one variable in JavaScript. The below code only recognizes the first input which is `document.forms["myForm"]["satisfied"][0]`. `onclick` should trigger by either radio buttons selection. I could duplicate the code into 2 variables and 2 onclick events but that wouldn't be ideal. Any ideas will be appreciated!

Please note that I can't use getElemntbyId or getElementbyTagName in my case due to limitation of access to the html in my project so I only can trigger by `name` tag.

```
var inputs = document.forms["myForm"]["satisfied"][0] || document.forms["myForm"]["satisfied"][1];

inputs.onclick = function() {
    document.forms["myForm"]["check"].disabled= false;
}

```