I have an embedded Airtable view in a website that acts as a directory with contact information. I'd like to keep track of how many times each person listed in the directory is sought after and add a counter to that person's record.
I thought about doing this by hiding the email address field of each contact behind a button, and when the button is clicked, doing two things:
- Revealing the email address of the contact.
- Incrementing a counter field on that record to show that another person was interested in this contact.
I wrote a script to do this, but soon ran into the fact that you can't have a button running scripts in the embedded view and it is hence greyed out.
Is there anything I can do to solve this problem, regardless of if buttons is the right solution?
Thanks!