title: i try if statement javascript for form values but dosn't work?
body: <p>i need make if statement for form values to showing red notifications message if no or green message if yes
  all form fields combobox except 2 fileds textbox
  i need calculate this 2 textbox values = 12</p>
  <p>so if all no + total values for text boxs = 12</p>
  <p>showing green txt notifcation
  else showing red txt notifcation</p>
  <pre><code>    &lt;form name=&quot;ACV&quot; method=&quot;post&quot; action=&quot;mailto:yourname@mail.com?subject=ACV&quot; enctype=&quot;multipart/form-data&quot; id=&quot;Form1&quot; onsubmit=&quot;return submitACV()&quot;&gt;
  &lt;select name=&quot;Combobox1&quot; size=&quot;1&quot; id=&quot;Combobox1&quot; style=&quot;position:absolute;left:33px;top:115px;width:200px;height:28px;z-index:0;&quot;&gt;
  &lt;option value=&quot;No&quot;&gt;NO&lt;/option&gt;
  &lt;option value=&quot;yes&quot;&gt;YES&lt;/option&gt;
  &lt;/select&gt;
  &lt;select name=&quot;Combobox2&quot; size=&quot;1&quot; id=&quot;Combobox2&quot; style=&quot;position:absolute;left:33px;top:148px;width:200px;height:28px;z-index:1;&quot;&gt;
  &lt;option value=&quot;No&quot;&gt;NO&lt;/option&gt;
  &lt;option value=&quot;yes&quot;&gt;YES&lt;/option&gt;
  &lt;/select&gt;
  &lt;input type=&quot;text&quot; id=&quot;Editbox1&quot; style=&quot;position:absolute;left:47px;top:248px;width:62px;height:16px;z-index:4;&quot; name=&quot;Editbox1&quot; value=&quot;&quot; spellcheck=&quot;false&quot;&gt;
  &lt;input type=&quot;text&quot; id=&quot;Editbox2&quot; style=&quot;position:absolute;left:161px;top:248px;width:62px;height:16px;z-index:5;&quot; name=&quot;Editbox1&quot; value=&quot;&quot; spellcheck=&quot;false&quot;&gt;
  &lt;input type=&quot;submit&quot; id=&quot;Button1&quot; name=&quot;&quot; value=&quot;Submit&quot; style=&quot;position:absolute;left:97px;top:310px;width:126px;height:21px;z-index:19;&quot;&gt;
  &lt;/form&gt;
  
  
  &lt;script&gt;
      function Button1 () {
          
          var text001;
          var answer1 = Combobox1.value
          var answer2 = Combobox2.value
          var answer3 = Combobox3.value
          var answer4 = Combobox4.value
          if (answer1 == &quot;no&quot;);
  if (answer2 == &quot;no&quot;);
  if (answer3 == &quot;no&quot;);
  if (answer4 == &quot;no&quot;);
  {
              
              text001 =&quot;right !!&quot;;
              else
                  text001 =&quot;try again !!&quot;;
          }       
          
          
      }
      
      &lt;/script&gt;
  </code></pre>