title: SailsJS: Get Resonse of Ajax-Form of SailsJS in the submitted function
body: <p>I want to get an object from an action, which is called by an ajax form component.</p>
  
  <p>Steps to reproduce.</p>
  
  <ol>
  <li><p>create a ajax form where you passing values for a model (eg. title and description for a post)</p></li>
  <li><p>After handling the submitting form let pass the data to a action</p></li>
  <li><p>In the action you will safe the given data to the MongoDB and fetch that created data with .fetch()</p></li>
  <li><p>You pass the fetched data to <code>exits.success(fetchedData)</code></p></li>
  <li><p>Try to get the data in the submittedForm function in the xxxx.page.js</p></li>
  </ol>
  
  <p>I am not able to get the data. I logged the ajax-form.components.js. In line 398, we emit the result (the result should have our data, in my case it is the fact) but after that, the result is gone.
  Maybe I understand it wrong, obviously I do things wrong.</p>
  
  <p>If you need more info, let me know.</p>