4 Replies Latest reply on Jun 6, 2014 6:31 AM by PleaseHelpMe

    if else statement with Radio Button

    OneTiredGuy19

      Display .value in a text box

       

      when I run

       

      event.value = this.getField('D2-4').value;

       

      I get Off, 3, 0 (Unchecked, first checked, second checked)

       

      But when I run

       

      if(this.getField('D2-4').value='Off'){

      event.value = 0;

      }else{

      event.value = this.getField('D2-4').value;

      }

       

      I constantly get "0" for all Unchecked, first checked, second checked

       

      And this message in debugger

       

      InvalidSetError: Set not possible, invalid or unknown.

      Field.value:1:Field Points 2.4:Calculate

       

      Any suggesting