J
|
Jane 10/8/2007 |
Brian, $_SESSION["First Name"]= $values["First Name"]; $_SESSION["Last Name"] = $values["Last Name"];
|
B
|
bricris author 10/8/2007 |
Brian, you can do it using Before record added event on the Events tab for the Table1. Here is a sample code: And then use $_SESSION["First Name"] and $_SESSION["Last Name"] as default values for the Last Name and First Name fields on the "Edit as" settings dialog on the Visual Editor tab.
|
J
|
Jane 10/9/2007 |
Brian, $smarty->assign("value_Last_Name") = $_SESSION["Last Name"]; $smarty->assign("value_First_Name") = $_SESSION["First Name"]; |
B
|
bricris author 10/13/2007 |
Ok this is not working for me I have put everything in but I get a error. Brian, to do the same on the edit page add the same code to the Before record updated event for the Table1 on the Events tab. Then add the following code to the Edit page: Before Display event for the Payments table: |
![]() |
Alexey admin 10/15/2007 |
Brian, |