title: My calculator is not out putting anything and not giving errors in any test?
body: <p>I have been working on a simple price calculator that determines monthly cost of support based on customer inputs. The customer puts in how many domains and users they have and this tells them our cost. I cannot get it to output a total.
  <a href="http://jsfiddle.net/c8sjadd9/1/" rel="nofollow">http://jsfiddle.net/c8sjadd9/1/</a></p>
  
  <pre><code>function getUserPrice() {
      var userPrice = 0;
      var uPrice = 0;
      //Get a reference to the form id="users"
      var theForm = document.forms("priceform");
      var useNum = theForm.elements("users");
  
      if (useNum === 1 &amp;&amp; useNum &lt;= 5) {
          uPrice = 2.00;
      } else if (useNum &gt;= 6 &amp;&amp; useNum &lt;= 10) {
          uPrice = 1.75;
      } else if (useNum &gt;= 11 &amp;&amp; useNum &lt;= 15) {
          uPrice = 1.50;
      } else if (useNum &gt;= 16 &amp;&amp; useNum &lt;= 25) {
          uPrice = 1.25;
      } else {
          uPrice = 1.00;
      }
  
      userPrice = theForm() * uPrice();
      //finally we return domainPrice
      return userPrice;
  }
  
  function getDomainPrice() {
      var domainPrice = 0;
      var theForm = document.forms("priceform");
      var domNum = theForm.elements("domains");
  
      domainPrice = domNum() * 8.00;
  
      return domainPrice;
  }
  
  
  function calculateTotal() {
  
      var totPrice = getUserPrice() + getDomainPrice();
  
      //display the result
      var divobj = document.getElementById('totalPrice');
      divobj.style.display = 'block';
      divobj.innerHTML = "Your Company's Price is: $" + totPrice;
  
  }
  
  function hideTotal() {
      var divobj = document.getElementById('totalPrice');
      divobj.style.display = 'none';
  }
  </code></pre>
  
  <p>I cannot get it to display the totals and I do not see anhing wrong with it.... Any suggestions?</p>