Y
|
YCH 6/3/2017 |
Similar to the example of using a session ID to set the Custom Upload Folder ( Example from phprunner is --- $folder = "userfiles/".$_SESSION["UserID"]; ) I want a custom path where the folder path is based on the "job_id" value from the record I am currently editing. I am sure this is simple, but I have tried different methods of trying to set a variable from the edit page 'before display' and 'before record update' events without any success.
|
Y
|
YCH 6/3/2017 |
Similar to the example of using a session ID to set the Custom Upload Folder ( Example from phprunner is --- $folder = "userfiles/".$_SESSION["UserID"]; ) I want a custom path where the folder path is based on the "job_id" value from the record I am currently editing. I am sure this is simple, but I have tried different methods of trying to set a variable from the edit page 'before display' and 'before record update' events without any success.
|
S
|
seedavidwork author 6/3/2017 |
I tried adding the suggested code to the custom folder area, and to several different event areas without success. Could you elaborate on where this code needs to be inserted to have the correct result. |
S
|
seedavidwork author 6/3/2017 |
I eventually solved this by creating a session variable and using this variable in the custom folder path.. |