![]() |
Sergey Kornilov admin 6/10/2011 |
The easiest approach is to use AfterAdd event. Here is the sample code that asks for user conformation and redirects to the View page. You will need to change redirect URL and key column name. echo "<script>if (confirm('Do you want to print this record?')) location.href='cars_view.php?editid1=".$keys["ID"]."';</script>";
|
P
|
prattster1874 author 6/10/2011 |
The easiest approach is to use AfterAdd event. Here is the sample code that asks for user conformation and redirects to the View page. You will need to change redirect URL and key column name. echo "<script>if (confirm('Do you want to print this record?')) location.href='cars_view.php?editid1=".$keys["ID"]."';</script>";
|