enable button until logged in

Hi,
First time here …
I have a certain button on my site that I want him to be enable to click, only after logging in as a member of the site.
I would like to know if anyone did this, and how.

Thanks

Do you use a custom Log-In ?
You will have to code your own custom Log-In to achieve your aim.

Here you will find an example, of how to create an custom registration-page…
https://russian-dima.wixsite.com/meinewebsite/blank-9

After a user has logged in you will need an event-handler which will run after log-in-process …
https://www.wix.com/velo/reference/wix-users/onlogin
…and will enable a button…

$w('#myButton').enable();

Here you can find an advanced example, of how your end-result of a stuning CUSTOM-LOGIN-page could look like…
https://www.media-junkie.com/login-page