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

0
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.
asked
1 answers
0

Hi AYBERK AKBALIK,

 

Assuming some entity is holding the yearly based information.

Let’s assume Xentity is used to hold the yearly information.

Add count attribute in Xentity and increase the count of Count attribute each time User fills out the forms and add validation wherever that is necessary and restricts when the Count is > 5

 

Hope it helps!

 

Regards,

Uday!

answered