Auto-Fill Edit Form

So I do not have much coding experience, and I am trying to make a website where users can post to a database. This is a website between a few close friends so I am okay with all posts being edited by anyone. The posts are displayed on a dynamic page, and you can click on a post to see it. However, I want to make it so that posts can be edited directly from the page as opposed to in the wix database. I kind of got started by creating an edit button that links to an edit form and creates a unique URL. What I am struggling with is making the fields I have autofill with the information. I am just using a simple submit form where the information that is submitted in the fields rewrites what is already there, so I believe I have that handled. I just do not know how to link the edit button and the edit form so that the fields auto fill with the information and so that the submitted information replaces the correct fields. I would appreciate any help. Thank you!