the collection is connected to a page in form of a repeater …my only problem now is how can i create a button that at will the visitor can edit the information he filled and updated the collection.
for instance i collected PUBGM username and ID…the user can change his PUBGM username in the game but how can i make him also change it on my website, an edit button is what i need
remember the collection is connected and displayed on a page already.
thank you for your help
Use this piece of code and follow after that the steps below:
export function editButton_click(event) {
$w("#input).show();
}
export function input_change(event) {
$w("#dataset").save();
}
Step 1:
Change the mode of your dataset to ‘Read and Write’.
Step 2:
Open the Property Panel and click on the Edit Button. Then change the edit button Id to editButton and create an onClick event.
Step 3:
Open the Property Panel and click on the input field. Then change the Id to input and create an onChange event.
Step 4:
Open the Property Panel and click on the dataset. Then change the Id to dataset .
Now you’re good to go.
TIP: Make sure to enable Dev Mode and paste the code on the page and not the site.
Hi 
What you’re asking is general, it isn’t difficult, but it’ll take a lot of time.
If you need someone to help you on your project feel free to check out Wix Marketplace where you can find developers to hire, or you can hire me if you prefer.
well thank you, im just starting and i don’t have money to pay anyone, but i do appreciate the offer.
hello, thank you for this i really appreciate
now if i understand you well… each input i have, i should create an onChange event for each?
i have four inputs
i have two button submit and edit
i connected submit to submit
so what do i connect edit to?
You’re welcome
If you need help in your project you can tag me and I’ll be happy to help if I could, you can follow me so you can get to me easily.