Deactivate button after submission

What’s the code to only allow one submission when they enter a listing?

When they have entered their listing I need the button to not be visible once they have submitted.

I can’t get into the site without signing up, but is it one of the forms set up by Wix, or have you made it yourself using input fields?

Created myself using input fields

if you are using a dataset element onaftersave() should answer your requirements please refer :

Thank you but I have no idea what to type in. I built the website code but watching YouTube, this was the only thing not covered.

So onafter save how do I make the button unabled after saving so a logged in user can’t use it anymore.