back button restriction on the app
<p>I am looking to restrict the back button i.e it does not  do anything. For that I found that we need to override in StateMachine Class.</p>

<pre><code>protected boolean allowBackTo(String formName) {
   return false;}
</code></pre>

<p>On our development we deleted this class and we don't have this class.</p>

<p>So is there any way to restrict this back button in the total application.</p>

<p>Thanks in advance</p>