title: Radio Button Value in pdf (javascript calculation)
body: <p>I have a form which I am creating in Adobe Pro. </p>
  
  <p>The "Grandtotal" field is determined by a variety of radio buttons selected. </p>
  
  <p>My first step is to give each of the radio buttons a value. </p>
  
  <p>My set of radio buttons is called "Options"  -   Radio button 1: "15"
                                                   Radio button 2: "25"</p>
  
  <p>What javascript could I use to put the value of the selected radio button (either 15 or 25) into my "Grandtotal" field ?</p>
  
  <p>I have tried the following:</p>
  
  <pre><code>var option1 = this.getField("Options");
  var option2 = this.getField("Options");
  
  var total = this.getField("Grandtotal").value;
  event.value = option1 or option2
  </code></pre>
  
  <p>Thank you</p>