Disable a radio button in Select Question

I have a similar question but in a Select type with radio buttons:
In my question "Cat1" I have "Other Specify" in the 7th list member.
The next question is "Cat2" where I have listed 8 members:
1 to 6 will be always shown
7th is the one specified in Cat1 in Others as [% Cat1_7_other %]
8th Other Specify

What I need is that if other is specified in Cat1, 7th shows that value and 8th is not shown. I tried using the next code in Text Editor of the 7th option but is not working:

<script type="text/javascript">
var Otro = "[% Cat1_7_other %]";
if (Otro == ""){
remove(Cat2List,7)
} else {
SetValue(Otro);
}
</script>

Resolved
3 replies