This topic is locked

Does anyone know what the code is to redirect after save

5/6/2012 9:02:04 PM
PHPRunner General questions
milsimcorps author

I have searched for this on the forum, but have not found the answer.

After saving the record I would like to redirect to the view page just edited instead of the list page.

Sergey Kornilov admin 5/7/2012

You can use AfterAdd/AfterEdit events and sample action "Redirect user to another page".
To calculate the URL of the View page you need to know the value of key column. It's available in those events as $keys["key column name here"]