+ 1

Creating buttton which must be clickable only once

I have autorisation system on my site.So how to create a button which must be clickable only once for each account."I want to create level gaining system in my site".Sorry for english.

8th Jul 2018, 3:53 AM
Fury
2 Réponses
+ 1
You'd have to have a database to store the users information and a field that stores the click count. Whenever the user clicks the button, check if the click value is 0. If it is, update the score to 1 and do whatever you want the button to do. If it's greater than 0, give the user an error message.
8th Jul 2018, 4:38 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
thanks
8th Jul 2018, 8:33 AM
Fury