title: yii2 submitbutton values not post to controller
body: <p>i got problem when i tried to post submitbutton value.</p>
  
  <pre><code>&lt;?= Html::submitButton('Save', ['value' =&gt; 'save','class' =&gt; 'btn green','name' =&gt; 'submit']) ?&gt;
  </code></pre>
  
  <p>When i tried with that code, my value posted but i should click the button twice.</p>
  
  <pre><code>&lt;?= Html::submitButton('Save', ['value' =&gt; 'save','class' =&gt; 'btn green','name' =&gt; 'button1']) ?&gt;
  </code></pre>
  
  <p>But when i changed name button, the value not post.
  Any idea to solve this problem?</p>
  
  <p>This my form : </p>
  
  <pre><code>&lt;?php $form = ActiveForm::begin(); ?&gt;
  
  &lt;?= Html::activeDropDownList($storev, 'id_store_v',$itemsv,
      [
          'prompt'=&gt;'--Select Dealer--',
          'class'=&gt;'form-control input-sm select2-multiple',
          //'onchange'=&gt;'$("#namev").val($("#id_store_v option:selected").text());',
          'onchange'=&gt;'$("input#idv").val($(this).val()),
                      $.post("index.php?r=sync/listsv&amp;id='.'"+$(this).val(), function( data ) {
                          $("select#storev-address").html(data);
                      });'
      ])
  ?&gt;
  
  &lt;?= $form-&gt;field($storev, 'id_store_v')-&gt;hiddenInput(['maxlength' =&gt; true, 'id'=&gt;'idv'])-&gt;label(false) ?&gt;
  
  &lt;?= $form-&gt;field($storev, 'address')-&gt;dropDownList(
      ArrayHelper::map(Storev::find()-&gt;all(),'id_store_v','address'), 
      [
          'prompt'=&gt;'',
          'class'=&gt;'form-control input-sm select2-multiple',
          'disabled'=&gt; true,
      ])
  ?&gt;
  
  
  &lt;?= Html::activeDropDownList($storetd, 'id',$itemstd,
      [
          'prompt'=&gt;'--Select Dealer--',
          'class'=&gt;'form-control input-lg select2-multiple',
          'multiple'=&gt;'multiple',
          //'onchange'=&gt;'$("#namev").val($("#id_store_v option:selected").text());',
          'onchange'=&gt;'$("input#idtd").val($(this).val())'
      ])
  ?&gt;
  &lt;?= $form-&gt;field($storetd, 'id')-&gt;hiddenInput(['maxlength' =&gt; true, 'id'=&gt;'idtd'])-&gt;label(false) ?&gt;
  
  &lt;?= Html::submitButton('Save', ['value' =&gt; 'save','class' =&gt; 'btn green','name' =&gt; 'button1']) ?&gt;
  &lt;?= Html::submitButton('Check', ['value' =&gt; 'check','class' =&gt; 'btn yellow','name' =&gt; 'button1']) ?&gt;
  </code></pre>