Redirect after a form submission using a simple edit layout


(Richard Crompton) #1

Hi

 

I have a number of asset builders that the logged in users use to create listing on our sites.

When the user wants to change a listing, they edit them through the respective simple edit layouts.

 

When them submit their alterations, the asset is updated, but the same simple edit layout is displayed.

 

Is there a way to redirect them after successful submission?

 

 


(Nic Hubbard) #2

I think your best bet is to have an "Exit Simple Edit" button somewhere so that they can exit if they choose.


(Richard Crompton) #3

Thanks Nic

 

I've got around this by adding a parameter to the form action, then detecting if its there after submission and redirecting the page.