Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Total submissions limit: Empty webform without message for anonymous #200

Open
olafgrabienski opened this issue Jun 27, 2022 · 1 comment

Comments

@olafgrabienski
Copy link
Member

olafgrabienski commented Jun 27, 2022

If the "Total submissions limit" for a webform is set, and the limit is reached, an anonymous visitor sees only an empty webform but not the respective message (This form has received the maximum number of entries.).

Steps to reproduce:

  • Create a simple webform for anonymous visitors.
  • Set the "Total Submissions Limit" to 1.
  • Submit the webform as anonymous.
  • Visit the same webform again as anomymous.

Actual result: For anonymous visitors, the webform title appears without content. No message is displayed.

Expected result: The message This form has received the maximum number of entries. is displayed.

Additional information:

There is a related issue for the D7 Webform version: https://www.drupal.org/project/webform/issues/2860730

@olafgrabienski
Copy link
Member Author

olafgrabienski commented Jun 27, 2022

The Drupal 7 issue mentions different approaches to fix the issue. There is also a patch which didn't work on my Backdrop site. I was able to make it working somehow, but I'm not sure if it's a preferable approach.

@olafgrabienski olafgrabienski changed the title Empty webform without explanation Total submissions limit: Empty webform without message for anonymous Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant