I need to link a document uploaded by a member using an upload button to a download button on another page in Wix website builder. I don’t have any issue with programming it, but I would prefer not to if possible.
Once the doc got uploaded, save its URL in a database collection (with the necessarily fields such as member ID etc…).
Then on the second page query the database collection, get the url link and assign it to the button.
See:
Upload a file:
https://www.wix.com/velo/reference/$w/uploadbutton/uploadfiles
Save to database:
https://www.wix.com/velo/reference/wix-data/insert
Query database collection:
https://www.wix.com/velo/reference/wix-data/query
Assign link to button:
https://www.wix.com/velo/reference/$w/button/link
Thanks for helping J.D.!