How can I count how many times a user presses a button?

Hi,   I have a project that consists of various forms. I want to show that user how many times a user fills out the Salary Advance form in a year (2023, 2024, 2025 etc.). Also at the beginning of each year this number should be reset for each user. In this way, I will create a validation and users who submit the relevant form 5 times in total within a year will now see a warning message when they fill out a new Salary Advance form. How can I do that? Thanks in advance.
0 answers