K
|
kohle 12/25/2021 |
Hi, If your problem is based on a field content there is a way without programming in phprunner if there are not many fields on your add page I would
Important: What I know about you idea is: if you open the "add page" , you are leaving the original page and nothing is triggered anymore in the "old page"
for 1) for 2) Here I make also the update on the old_page table with $sql=" update old_page_table set id_from_add = ". $lastid. " where id_old_page=". $_SESSION["oldpage_id"]; After I make a redirect to the old page . rg |
U
|
ustunsoz author 12/25/2021 |
Thanks kohle, The custom button on the list page (not on grid), appears after selecting rows. Therefore, I am looking for a solution to open a pop-up add page on the client before, return the newly created ID to the server event, then update master id on the selected rows. |
K
|
kohle 12/26/2021 |
Take a look at this : https://stackoverflow.com/questions/17171589/javascript-open-new-tab-and-wait-for-it-to-close Lets say you can open the add_page in a modal window and save the new userid in a SESSION variable which you could process in your list page. PS: Desktop programming is hard to adapt to web browser. rg |
U
|
ustunsoz author 12/26/2021 |
Thank you kohle; I have tried all possible option but no success. I found the other way arround.
It becomes more logical because child details coming to popup in the mentime. |