Hi Softr Community! I’m working on a feature in my Softr app where:
I have a list with a button that updates a record in Airtable.
I want to increment a “Click Count” field by 1 each time a user clicks the button.
Once the Click Count reaches 3, the button should disappear or the list item.
Additionally, I’d also like to capture the usernames of the logged-in users who clicked the button.
How can I set up the button to increment the count by 1 and hide it after 3 clicks? I’m open to handling part of the logic in Airtable if necessary.
Any step-by-step guidance would be greatly appreciated!
Thanks in advance for your help!
Hi there,
I have an idea but I’m not sure it will entire capture what you’re looking for.
On the button, use a one click update action.
For that update, add a counter to the record + save the user who clicked the button.
on the button, use visibility rules to hide once that record is at 3 or more clicks.
Alternatively, you can use the CALL API action to trigger a Zap/make/airtable automation to configure while you send the item details + loggedin user value to manage those relationships in your DB.
Hope this helps you!
Hey! How to add a counter to the record? I can only see two update methods, replace existing value and clear existing value.
Ah, you’re right. Don’t think the one click update will do it for you then.
You’ll need to use the Call API (or Zapier / Make) and send this information to your DB to update and process your data there in the meantime then.
Suzie
November 20, 2024, 4:15pm
5
Hey @Hauseetech ,
What if you track the button clicks with Google Analytics.
You can then connect Google Analytics to Airtable to pass the information. For this you will need to setup an automation with Make for example, like @Jjenglert mentioned.
So once you have the data in Airtable, you can then setup button visibility.
I would like to point out that I have not tested this myself, I just thought of a possible workaround that could work.