spjs.dffs.processEmailTemplate timeout/reset

Forums Dynamic Forms for SharePoint spjs.dffs.processEmailTemplate timeout/reset

Viewing 1 reply thread
  • Author
    Posts
    • #28732
      Bryan Waldrop
      Participant

      Is there some built in functionality that prevents spjs.dffs.processEmailTemplate from sending multiple emails if a button setup up to run the function is clicked multiple times?

      I am having issues while testing where the function/button is not firing a second time until I reload the form.

    • #28738
      Alexander Bautz
      Keymaster

      Yes, there is a builtin check to prevent the same email template from being submitted multiple times so you must as you have already figured out refresh the form. It is of course possible to override this in code:

      spjs.dffs.clearTemplateFromSessionStorage("Your_Email_Template_Name");

      Alexander

Viewing 1 reply thread
  • You must be logged in to reply to this topic.