This topic is locked
[SOLVED]

 <<<Record was added>>>

8/16/2020 5:15:43 PM
PHPRunner General questions
Spider Webster author

Where do I go to edit the Record was added
+------------------------------+

<<<Record was added>>>

| Back to List | View | Edit |

+------------------------------+
I don't want the user to be able to go back to list after adding records. But I want to give them a message to say record added.

Myr0n 8/17/2020



Where do I go to edit the Record was added
+------------------------------+

<<<Record was added>>>

| Back to List | View | Edit |

+------------------------------+
I don't want the user to be able to go back to list after adding records. But I want to give them a message to say record added.


Add the next code in the AfterAdd and You can redirect the user to a custom page.



//********** Redirect to another page ************

header("Location: anypage.php");

exit();


HJB 8/17/2020

https://xlinesoft.com/phprunner/docs/change_the_add_save_messages.htm
... on message text changes ..., while in regard to display a message,
the following https://xlinesoft.com/phprunner/docs/display_a_message_on_the_web_page.htm might serve.
https://javascript.info/settimeout-setinterval talks about DELAYS.
In other words, I understand, once the record is ADDED you want to display a SAVED message BEFORE the

code provided by @MalexArc is leading to the LIST page. A mix out of the above seems to be a way forward.

alac 8/24/2020



Where do I go to edit the Record was added
+------------------------------+

<<<Record was added>>>

| Back to List | View | Edit |

+------------------------------+
I don't want the user to be able to go back to list after adding records. But I want to give them a message to say record added.



Have you tried this?

$xt->assign("back_button",false);

$xt->assign("view_page_button",false);

$xt->assign("edit_page_button",false);


D
david22585 8/24/2020