By somes on
Ive been trying to figure a way of time limiting a user from making a form post in drupal I would like to restrict a user to a form post (node post) to once per week – Im using field api to add some extra fields as part of a survey type entity
I was thinking of using the field api to hold a hidden value to the number of posts made and restricting the access based on the time since the last post was made – there are some modules for drupal 6 but I need to get something working for D7
I was thinking of a custom module and using the hook_form_alter to prevent the form from getting displayed to the user
any suggestion would be appreciated
tks
M