![]() |
HJB 7/29/2018 |
How would you do this? The selected value does not exist when you upload the file but is displayed on the page (record is not yet saved). It seems the folder path will only accept sessions. I select a user from the drop down menu, and want the upload path to be files/selected user? Anyone have a solution? Thxs.
|
A
|
Athlon author 7/29/2018 |
Thanks for that, does not do exactly what I need. On the before process page I don't seem to be able to get a handle on the changed drop down field on the form.. I can collect it using JS but that does not really healp with sessions being a server thing.. I can assign to variables directly without problems <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=85531&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> |
![]() |
HJB 7/30/2018 |
Thanks for that, does not do exactly what I need. On the before process page I don't seem to be able to get a handle on the changed drop down field on the form.. I can collect it using JS but that does not really healp with sessions being a server thing.. I can assign to variables directly without problems <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=85533&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> Can only think Ajax is the way.. although I have no experience of using it.
|
![]() |
Admin 7/30/2018 |
Files are uploaded before record is created. This is why you cannot use field from the form to create a folder and session variable is your only option. |
A
|
Athlon author 7/30/2018 |
Thanks for the info... I renamed files using the form vals and stored them and set session in process events.. Not perfect but acceptable. |