Expand my Community achievements bar.

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

Avatar

Level 1

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 

1 Reply

Avatar

Level 3

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: