K
K
ksivasid2015-08-13 20:25:25
Drupal
ksivasid, 2015-08-13 20:25:25

How to get rid of duplicate messages after submitting the form, when clicking on the sumbit several times?

When creating a node, after filling out the form, if you press quickly 2 times, then several nodes with the same one will be created. How to avoid it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
afi13, 2015-08-13
@afi13

As an option to block the button after the first click using javascript.

I
Izbaskhan Kabilgakov, 2015-08-17
@izbai

Put a captcha. After the first click, the captcha code changes, and the second time the letter will not be sent. + spam protection

V
Viktor Bogutskii, 2015-08-27
@siteogra

Try this module https://www.drupal.org/project/hide_submit
Also discussed here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question