Double click prevention introduced in Drupal 7

Created on 23 June 2023, over 1 year ago
Updated 26 June 2023, over 1 year ago

Is this module still necessary after upgrading to drupal 7.98?
Will this module not interfere with this new library drupal.form-single-submit?

Double click prevention introduced in Drupal 7
Description:
By default Drupal will now prevent consecutive form submissions of identical form values via a new separate library drupal.form-single-submit. Repetitive form submissions that would submit the identical form values are prevented, unless the form values are different from the previously submitted values.

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇳🇱Netherlands everkuil

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

Comments & Activities

  • Issue created by @everkuil
  • 🇷🇺Russia i-grou

    Thanks @everkuil for your question. I've ran some tests and checked the source code - looks like drupal.form-single-submit built-in behavior does the same job (using the same principle) as webform_single_submit. So answering to your questions:

    1. This module is no longer necessary (for Drupal 7.98+)
    2. This module may interfere with new drupal behavior, but it should not break anything. Either webform_single_submit or drupal.form-single-submit would be executed first and prevent duplicate submission.

Production build 0.71.5 2024