Help with radio button

Results 1 to 2 of 2

Thread: Help with radio button

  1. #1
    Join Date
    Dec 1969

    Default Help with radio button

    Can someone help with the function below. rad_1 is a radio button and I want to use the sample text if the radio button named ONE is checked. I am lost on this one, it seems as though it should work. The same thing works just fine if it is not a radio button. Thanks in advance! Dan<BR><BR>function GetValue() {<BR>var Option1 = (document.myform.rad_1.value == &#039;ONE&#039;)?&#039;sample text .&#039;:&#039;&#039;;<BR><BR>if (frmTaxPcl1.paid.value =="Y"){ document.myform.Viewer.value = &#039;some text&#039; + Option1; } else { &#039;some other text &#039;;}

  2. #2
    Join Date
    Dec 1969

    Default **CROSSPOST**


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts