Developer forum

Forum » CMS - Standard features » FormSaveProvider Forms for Editors

FormSaveProvider Forms for Editors

Jesse Bakker
Reply

Hi,

We have a solution that uses a FormSaveProvider to manipulates the recipients mails. This works with the Forms (Data Lists) but we want to do something similar for the Forms for Editors. But the module doesn't show any options to use the provider like the Forms (Data Lists) does.

Is it possible to use a FormSaveProvider with the Forms for Editors? 

BR, Jesse 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Jesse

The module does not support FormSaveProviders.

But you can use the Notifications.Frontend.OnSendMail or Notifications.Frontend.OnSendMail notifications to change the message being send. You get the entire message so you can change whatever you want.

In the form it self (client side), you can also change the behavior of what happens when the form is being submitted. If you create a field called "MailRecipient" with a comma separated list of emails, those are the emails used to send the form mail to.

BR Nicolai

 
Jesse Bakker
Reply

Hi Nicolai,

Thanks, we'll use that instead.

BR, Jesse

 
Jesse Bakker
Reply

Hi Nicolai,

It seems there is no notification for Notifications.Frontend.OnSendMail?

I also looked for something similar but cant find anything here: http://developer.dynamicweb-cms.com/api8/#Dynamicweb~Dynamicweb.Notifications_namespace.html

Is there something i'm missing?

BR, Jesse

 
Nicolai Høeg Pedersen
Reply

You need to take a look at Dynamicweb.Modules.Forms.Notifications in Dynamicweb.Modules.dll

 

You must be logged in to post in the forum