Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

younus's avatar

Preventing multiple submit requests

When an app is slow to respond to a form request, the user ends up pressing submit multiple times.

This sends out a few more requests and ends up adding new rows in the database.

What is the best way to check this site wide?

0 likes
1 reply
kobear's avatar

After you submit the form, disable the submit button until the submission is complete.

Please or to participate in this conversation.