Highlighted

How to create a submit action that stores data to a portal as well a sends an email?

devesha74516332

26-05-2017

Hi,

How do i proceed in creating a custom submit action for AEM forms that stores a form submissions and drafts to a portal as well as sends a email to users?

Thanks in advance 

Replies

Highlighted

Sakshi1

28-05-2017

Hi Devesh,

Your form is always saved in portal as draft, irrespective of your submit action.

The scenario you mentioned that there is a form portal submission with email submit action does not require a custom submit action, as we give this as an OOTB feature. All you need to do is in authoring dialog of 'Form Container', check 'Store data in form portal' along with email submit action: