top of page

Forum Posts

ic_forrest
Jul 12, 2021
In Forum Discussions
This is driving me crazy! I want users to upload a photo, so I have an upload button, then display it on the page: export function buttonImage_click(event) { $w("#uploadButton").startUpload() .then( (uploadedFile) => { $w("#image1").src = uploadedFile.url; local.setItem("authorPhoto", uploadedFile.url); So far so good - the image is correctly displayed in #image1. The url is also put in local storage so I can use it to pick up the image on another page. Again, it is shown correctly on this page. I then come back to the original page where users can now update the database with their data - but how can I use the url held in local storage to retrieve the image and upload it?
0
2
11
ic_forrest
Nov 24, 2020
In Forum Discussions
I need users of the website to be able to update what they have previously submitted. For example, they give a brief bio of themselves but may later want to edit it in some way. Or it could just be a change of address. It seems an elementary feature, but I can't see how to do it anywhere.
2
2
30
I

ic_forrest

More actions
bottom of page