title: How to programatically go back in a navigation based application
body: <p>I have created a navigation based application, so when the user clicks on a button, the page navigates to another page (with a back button on it)</p>
  
  <p>In sencha touch how to programatically, <code>go back</code> (to the previous view in the navigation stack), and also erase the values contained in fields (in the previous view). </p>
  
  <p><strong>Update</strong></p>
  
  <pre><code>Ext.getCmp('mainview').push({
  
                                                            xtype:'second'
  
                                                           });
  </code></pre>
  
  <p>In the Main.Js</p>
  
  <pre><code>Ext.define("app.view.Main", {
      extend: 'Ext.navigation.View',
             id:'mainview',
  </code></pre>