Skip to main content
Inspiring
June 11, 2015
Answered

Radiobutton callback not working...

  • June 11, 2015
  • 1 reply
  • 247 views

I am trying to change the visibility of controls in a window when the user clicks one of two radio buttons using the following callback functions. However, nothing happens when I click the radio buttons. I have also tried the onChange and onChanging events in addition to onClick with the same result. What am I doing wrong? Thanks.

function radioDoubleMatOnClick() {

  if (radioDoubleMat.value == true) {

  if (!patternIsInstalled(PATTERN_0)) outerMatPatternGroup.hide();

  innerMatPanel.show();

  }

}

function radioGlowOnClick() {

  if (radioGlow.value == true) {

  outerMatPatternGroup.hide();

  innerMatPanel.hide();

  }

}

radioDoubleMat.onClick = radioDoubleMatOnClick ();

radioGlow.onClick = radioGlowOnClick ();

This topic has been closed for replies.
Correct answer Bazsl

Ignore my question. I found my mistake.

1 reply

BazslAuthorCorrect answer
Inspiring
June 11, 2015

Ignore my question. I found my mistake.