Problem/Motivation

Confirmation message does not appear in modal when per user submission limit is set to 1

Steps to reproduce

1. Create a webform
2. Set the Submission limit setting as follows.
Webform Confirmation Modal Settings
3. Select Confirmation type modal and fill it as follows.
webform confirmation type settings
4. The modal will not appear when you log in and fill out the form with a non-role user.

Proposed resolution

In the code, webform limit operations are performed in the getCustomForm function. Since the form comes from here, the code does not continue until the lines that trigger the modal. The modal must be triggered before this function.

Issue fork webform-3320307

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

seyfettinkahveci created an issue. See original summary.

seyfettinkahveci’s picture

StatusFileSize
new2.26 KB

patch for 6.1.3

cilefen’s picture

Status: Fixed » Needs review

jrockowitz made their first commit to this issue’s fork.

jrockowitz’s picture

Status: Needs review » Fixed

jrockowitz’s picture

jrockowitz’s picture

Version: 6.1.3 » 6.2.x-dev

Status: Fixed » Closed (fixed)

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

seyfettinkahveci’s picture