|
L
|
lawfour 2/22/2007 |
|
I think this is what you are looking for, check this thread |
|
|
B
|
bricris author 2/24/2007 |
|
I spent a hour changing my view page and adding the code that is in the other post but it will not work. |
|
|
J
|
Jane 2/26/2007 |
|
Hi, global $conn; $str = "select IDField from TableName where UserName='".$_SESSION["UserID"]."'"; $rs = db_query($str,$conn); $data = db_fetch_array($rs); header("Location: oak_loantrack_view.php?editid1=".$data["IDField"]); exit();
|
|
|
B
|
bricris author 3/29/2007 |
Hi, you need to select id of added record and then use it the event: To change default value of the field proceed to the Visual Editor tab (step 10) in the PHPRunner, choose Register page, double click on the field and change value in the Default value box.
|
|
|
J
|
Jane 3/29/2007 |
|
Brian, |
|
|
B
|
bricris author 3/30/2007 |
Brian, to redirect to the View page after login use AfterSuccessfulLogin event on the Events tab and code I've gave in the previous comment.
|
|
|
|
Sergey Kornilov admin 4/4/2007 |
|
Brian, global $conn; $str = "select IDField from oak_loantrack where UserNameField='".$_SESSION["UserID"]."'"; $rs = db_query($str,$conn); $data = db_fetch_array($rs); header("Location: oak_loantrack_view.php?editid1=".$data["IDField"]); exit(); |
|
|
B
|
bricris author 4/11/2007 |
Brian, to redirect to the View page after login use AfterSuccessfulLogin event on the Events tab and code I've gave in the previous comment.
|
|