I am currently building a page with a form for users to create pages and upload files to their account. I successfully built a form to create pages on the frontend with pages->create(), but I am unable to figure out how to upload a file to these pages.
The way I have it built is by creating a page for each client when they register and for each year a sub page is created. Each subpage should have a list of all of the clients file. I don’t want any of the clients to have access to the panel - I have basically everything built but can’t figure out how to upload a file to these pages.
Any suggestions how to do this?