Catalystry:<div><br></div><div>We have a ticketing system where the managers can add new data and update the form. This uses a normal &quot;submit&quot; button. But now and then they want to close an incident, so we have a &quot;save-and-close&quot; submit button as well. One form, two ways to submit.</div>
<div><br></div><div>So there&#39;s a second page where they fill out some finalization options (with the original data in hidden fields) and there they have a final &quot;submit&quot; button for the purpose. And they should be able to use their browser&#39;s &quot;back&quot; button to get back to the edit form.</div>
<div><br></div><div><br></div><div>What&#39;s the elegant way to handle this in Catalyst?</div><div><br></div><div><br></div><div>The problem we&#39;re wrestling with is that the &quot;edit&quot; action should have a URL distinct from the close action so that the user can hit the &quot;back&quot; button if need be.</div>
<div><br></div><div>/item/# &lt;= view item</div><div>/item/#/edit &lt;= edit form</div><div>/item/#/close &lt;= confirm-close form</div><div><br></div><div>We&#39;re using HTML::FormHandler and DBIC. And the solution shouldn&#39;t rely on javascript.</div>
<div><br></div><div>All pointers welcome!</div><div><br>-- <br>The first step towards getting somewhere is to decide that you are not going to stay where you are.  -- J.P.Morgan<br>
</div>