Getting form data on submit? : <p>When my form is submitted I wish to get an input value:</p>

<pre><code>&lt;input type="text" id="name"&gt;
</code></pre>

<p>I know I can use form input bindings to update the values to a variable, but how can I just do this on submit. I currently have:</p>

<pre><code>&lt;form v-on:submit.prevent="getFormValues"&gt;
</code></pre>

<p>But how can I get the value inside of the getFormValues method?</p>

<p>Also, side question, is there any benefit to doing it on submit rather than updating variable when user enters the data via binding?  </p>
