Salesforce Visualforce Tutorial: Prevent Double/Multiple Form Submissions

preview_player
Показать описание
In this video, we go over how to prevent double/multiple submissions on a Visualforce form in Salesforce.

Double/Multiple form submission occurs when a user clicks on a form button more than once before the response is returned. This can be an issue if the button fires an action that leads to a DML operation or Webservice callout as the action would be invoked more than once.

Salesforce Doc:

Рекомендации по теме
Комментарии
Автор

Something I forgot to mention: The loading spinner's background appears shifted to the right because of the margin-left styling that was applied to the body. It's CSS that's not needed for this functionality.

ChrisMarquez