Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using a webform as a 'Flag this node' module where the form appears in a block on certain nodes.
Is there a way to limit the number of submissions per user per node?
Using the current 'per user submission limit' causes the form to logically disappear from other nodes.
Ideally, I would want to set the limit to 1 per node meaning the user can only submit the form for that node once but can still submit the form on other nodes.
Comments
Comment #1
quicksketchThere isn't a built-in way to do this unfortunately. You would need to do a custom SQL query either in your theme or in a custom module to control the visibility of the Webform block.
Comment #2
DanChadwick CreditAttribution: DanChadwick commented