↖️ Show all posts

Prevent Double Clicks in Forms

In order to prevent users from creating double posts in your web form, simply change your form’s submit method from:

submit "Save"

to:

submit "Save", data: { disable_with: "saving..." }

⬅️ Read previous Read next ➡️