Hi guys,
I try to find the way to print uploaded file's id/URL in the 'thank you' screen. How can i do this? I want to use the form rather than the asset builder.
:huh:
Robin
Since Custom Forms have to set a static root node for files to be created, you can just use an asset listing in your thank you page contents. So, nest the asset listing, set the root to the folder that the files get created in, and set the sorting to created date. This should work, unless there were multiple people using the form and uploading at the same exact time, but this might be unlikely.
Let me know if this works… 
What a creative solution! Now i need to deal with the caching issue as multiple people might upload same time… You did shed the light for me Nic!
:lol:
:lol:
:lol:
[quote]
Now i need to deal with the caching issue as multiple people might upload same time…
[/quote]
Rather than nesting the asset listing, just load up the URL with ajax and append /_nocache to it, then dump the html into a div. That way, you don't have to worry about getting some trigger to clear the cache for you. 