This topic is locked
[SOLVED]

 Force Page Reload

1/30/2013 8:48:12 AM
PHPRunner General questions
H
herb200mph author

We are using events such as "Last Date Saved" to display on the LIST page when a user edits a record.
When the user returns to the LIST page, that data may or may not be displayed.
Can we add a script to an event that will FORCE A LIST PAGE RELOAD, when the "Back to List" button is clicked?
What would be the event script to force a page reload?
We also have another button function that actually submits a record to admin via email with an RTF document created and record attached files.
We would also like a script for the event that triggers the "success" message in the CLIENT BEFORE event which displays the "success" message.
P.S. We are not coders, so please excuse our lack of knowledge relative to coding events.

C
cgphp 1/30/2013

Check if that data may or may not be displayed in the "List page: before process" event. You can use the header method (http://php.net/manual/en/function.header.php) to redirect the user.