On a clean install of Drupal 7, duplicate items are created if 'Save' is selected multiple times (clicked obsessively)

I discovered this issue today related to some duplicate content. It appears to be occurring on a clean install of Drupal 7 but does not appear to occur in a clean install of Drupal 8.

when creating a new item, at the '/node/add/content-type' page for any content type, when clicking 'Save' multiple times, multiple duplicate items are created for that content type.

Ideally the save button only allows one submit and all further 'obsessive' clicking is ignored.

CommentFileSizeAuthor
duplicatecontent.JPG106.62 KBmrgoodfellow

Comments

mrgoodfellow created an issue. See original summary.

jenniferhoude’s picture

Working on a Drupal 7.82 and im facing the same issue. Created a new node, clicked 'Save' multiple times and its create multiple nodes.

jumpthattb’s picture

Same on 7.82. On the forum, users are clicking save multiple times and it is creating duplicate posts.

poker10’s picture

Status: Active » Closed (duplicate)
Related issues: +#1705618: Double click prevention on form submission

This seems to be a duplicate of #1705618: Double click prevention on form submission.

Please test the patch posted here if it fixes the issue for you.