Add tag to query check if the current user has exceeded the limit on current webform, built in _webform_submission_user_limit_check().

This would allow developers to modify the query as per their specific requirements.

Patch to follow.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

maciej.zgadzaj’s picture

Status: Active » Needs review
FileSize
885 bytes

Patch against 7.x-3.x-dev attached.

quicksketch’s picture

Version: 7.x-3.x-dev » 7.x-4.x-dev
Status: Needs review » Fixed
FileSize
703 bytes

Thanks! This is a good idea. I had to modify the patch slightly as the code has changed a bit since this was written. I also tagged the matching query for the "total" check.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.