Redirect to other page after grid edit

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
quanghuyitalst
User
Posts: 19

Redirect to other page after grid edit

Post by quanghuyitalst »

Hi everyone!
Please help me how to redirect to any page
I want to redirect to other page after grid edit with many choosing.
ex: if($x==1) {
redirect page 1
}else
{redirect to page 2}

thank you for your help

Urgent!


mobhar
User
Posts: 11747

Post by mobhar »

You may use "Grid_Inserted" server event, put this code inside that event: $this->terminate("yourpage.php"); (assume you're using v2019) in order to redirect to yourpage.php.

Fore more info and example, please read "Server Events and Client Scripts" topic from PHPMaker Help menu.


Post Reply