Webform not redirecting to default submission page when limit is reached

Created on 13 August 2025, 2 months ago

Problem/Motivation

On the last submission, the webform is not redirecting to form submission page when "Page (redirects to new page and displays the confirmation message)" is selected that displays the confirmation message. Instead it redirects to the same form with "No more submissions are permitted." message.

Steps to reproduce

1. Create a webform
2. In the confirmation settings, set Confirmation type to "Page (redirects to new page and displays the confirmation message)"
3. Add a confirmation message in the confirmation settings tab.
4. Set limit to the form to an 'x' number
5. Try submitting the form.
6. On the last submission, this will not show the thank you message.

๐Ÿ› Bug report
Status

Active

Version

6.2

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia bharath-kondeti Hyderabad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @bharath-kondeti
  • I can reproduce thisโ€”the last allowed submission doesn't work as expected.

  • Pipeline finished with Failed
    2 months ago
    Total: 738s
    #572480
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia bharath-kondeti Hyderabad
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vinodhini.e chennai

    Hi, Steps to Reproduce the Issue

    Tested this on Drupal 11.2.3.
    Faced the same issue: after form submission, the confirmation message was not visible. Applied Merge Request #670.
    After applying, the confirmation message appeared and working fine.

    Thanks.

  • I was able to reproduce the error:

    1 - Created a form and set the submission limit to 2.
    2 - In the second submission, I've got the submission limit message and couldn't see the success message:

    After the patch:
    1 - Created a second form with the same settings:
    2 - I was able to send 2 messages and in both cases I saw the success message:

  • We can't merge a commented-out line and I am uncertain if this fix may have unknown consequences.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia bharath-kondeti Hyderabad
  • Pipeline finished with Failed
    about 2 months ago
    Total: 172s
    #582291
  • Pipeline finished with Failed
    about 2 months ago
    Total: 136s
    #582309
  • Pipeline finished with Failed
    about 2 months ago
    Total: 145s
    #582993
  • Pipeline finished with Success
    about 2 months ago
    #583002
  • Pipeline finished with Success
    about 2 months ago
    #583006
Production build 0.71.5 2024