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 "submit" button. But now and then they want to close an incident, so we have a "save-and-close" submit button as well. One form, two ways to submit.</div>
<div><br></div><div>So there's a second page where they fill out some finalization options (with the original data in hidden fields) and there they have a final "submit" button for the purpose. And they should be able to use their browser's "back" button to get back to the edit form.</div>
<div><br></div><div><br></div><div>What's the elegant way to handle this in Catalyst?</div><div><br></div><div><br></div><div>The problem we're wrestling with is that the "edit" action should have a URL distinct from the close action so that the user can hit the "back" button if need be.</div>
<div><br></div><div>/item/# <= view item</div><div>/item/#/edit <= edit form</div><div>/item/#/close <= confirm-close form</div><div><br></div><div>We're using HTML::FormHandler and DBIC. And the solution shouldn'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>