title: Rails form button to multiple actions
body: <p>I have a Rails' remote_form_for that basically changes a value of a field, and I want to have 3 buttons. First button is to Save the value of the field. The second button is to Save the value and then call Action1 (e.g. send an email that the field was changed). The third button is to Cancel. </p>
  
  <p>The form is declared with</p>
  
  <pre><code>&lt;% remote_form_for @post,
    :url =&gt; { action =&gt; 'update_field1', :id =&gt; @post.id } do |f| %&gt;
  </code></pre>
  
  <p>The first button is  </p>
  
  <pre><code>&lt;%= f.submit "Save", :disable_with =&gt; "Please Wait" %&gt;
  </code></pre>
  
  <p>How do I implement the Second button? Much thanks!</p>