Is there a way to make a button clickable just a certain # of times?

Is there a way to make a button clickable just a certain # of times?

I would like my users to purchase an item that will let them click a button just 3 or 5 times depending on the purchases

Example:
-User buys 3 attempts
-whenever he wants he can click the button attempt
-when the button is click a thing on the data base gets recorded. (attempt history record)

  • when user finished those purchased attempts the button gets disable
  • if user clicks attempt button but doesn’t have any purchases then a pop up shows up telling user to buy more attempts

Thank you

Hi there, @marketing11… an easy way to do what you described is to increment a number field (possibly in the User data type) by 1 every time the button is clicked. Then, use the number in that field as part of conditions to do whatever you want (disable a button, show a popup, etc.) when the user runs out of clicks.

Hope this helps.

Best…
Mike

1 Like

Thank you very much

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.