/
Limit the number of user votes per month
Limit the number of user votes per month
Here’s a video on how to limit the number of user votes per month.
string [] votesMonth;
string userProps;
int month = month(currentDate()) - 1;
userProps = getUserProperty(currentUser(), "votesMonth");
if(isNotNull(userProps)) {
votesMonth = userProps;
if(isNotNull(votesMonth[month])) {
int count = votesMonth[month];
if(count >= 3) {
lfHide("votes");
}
}
}
, multiple selections available,
Related content
Limit the number of votes per month
Limit the number of votes per month
More like this
--dayOfMonth
--dayOfMonth
More like this
Limit the number of characters in a text-entry field
Limit the number of characters in a text-entry field
Read with this
Assign users based on a decision table using SIL™
Assign users based on a decision table using SIL™
Read with this
Restrict options or number of selections in a select list
Restrict options or number of selections in a select list
More like this
Assign an issue while maintaining the user load
Assign an issue while maintaining the user load
Read with this