title: if statement displaying in text box without executing calculation
body: <p>I'm new at this. The input is showing in the text box but not making the calculation for the if statement. </p>
  
  <p><a href="https://i.stack.imgur.com/pigoJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pigoJ.png" alt="enter image description here"></a></p>
  
  <pre><code>$w.onReady(function () {
  $w("#generatequote").onClick((event) =&gt; {
  
  var SR = Number($w("#SR").value);
      if (SR&lt;100) {
          $w("#quotetext").value = SR * 2;
      }
  
      //first try- does not calculate
      $w("#quotetext").value = fin  + "\n" + (name + "\n" + email + "\n" + phonenumber + "\n" + address + "\n" 
      + ($w("#quotetext").value = SR))
  
      //Second Try- does not calculate
      $w("#quotetext").value = fin  + "\n" + (name + "\n" + email + "\n" + phonenumber + "\n" + address + "\n" 
      + ($w("#SR").value = SR))
  </code></pre>
  
  <p>I have also tried replacing "#quotetext" in the if statement with "#SR" but it displays nothing</p>
  
  <p>This is the code displaying the additional else statements</p>
  
  <pre><code>var SR = Number($w("#SR").value);
  if (SR&lt;100) {
  $w("#quotetext").value = SR * 2;
  }
  else if (SR&gt;=100&amp;&amp;SR&lt;300) {
  $w("#quotetext").value = SR * 1.5;
      }
      else if (SR&gt;=300&amp;&amp;SR&lt;600) {
          $w("#quotetext").value * 1.25;
      }
      else if(SR&gt;=600) {
          $w("#SR").value = ("SR");
      }
      $w("#quotetext").value = fin  + "\n" + (name + "\n" + email + "\n" + phonenumber + "\n" + address + "\n" + ($w("#SR").value = SR))
  </code></pre>