Submission limits, both in total and per user, can be set to negative numbers, which make no sense, and zero, which is not needed because forms should be closed if one does not want any submissions. Webform should verify that the limit is a positive integer.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Liam Morland’s picture

Status: Active » Needs review
FileSize
1.81 KB
Liam Morland’s picture

Title: Submission limits should always be greater than 1 » Submission limits should always be greater than zero
quicksketch’s picture

Status: Needs review » Fixed

Thanks again Liam. Looks great to me. Committed and pushed to 7.x-4.x.

Status: Fixed » Closed (fixed)

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

fenstrat’s picture

Version: 7.x-4.x-dev » 8.x-4.x-dev
Assigned: Unassigned » fenstrat
Status: Closed (fixed) » Patch (to be ported)

Needs porting to 8.x-4.x.

fenstrat’s picture

Version: 8.x-4.x-dev » 7.x-4.x-dev
Assigned: fenstrat » Unassigned
Status: Patch (to be ported) » Fixed

Committed and pushed 41433bc to 8.x-4.x. Thanks!

fenstrat’s picture

Also committed and pushed 34af81c to 8.x-4.x.

  • Commit ddd353b on 8.x-4.x authored by Liam Morland, committed by fenstrat:
    Issue #2150877 by Liam Morland: Submission limits should always be...

Status: Fixed » Closed (fixed)

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