Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

(adaptive forms) I want to customize the built-in Email submit action: How do I do it?

Avatar

Former Community Member

Hello. I want to customize the built-in submit action. which files/component should I edit? Thanks! :)

4 Replies

Avatar

Employee Advisor

There is documentation on writing your own custom submit. Google on Custom Submit adobe Adaptive forms. If that does not help let us know, will send you sample package

Avatar

Former Community Member

Thank you very much for the tip.

1. but I only want to edit/add-in the built-in email submit action. Would you happen to know where I can find the code for that? somewhere in /libs?

2. Also a sample submit action in zip file would be most welcome.

3. what I'm trying to do is to implement Google reCaptcha on an adaptive form that send an email. I haven't found any answers to this one yet.

Thanks again.

Avatar

Level 3

Hi,

1. You can find the out of the box email action code under /libs/fd/af/components/guidesubmittype/email

2. You can use overlay/override concept to write custom submit action.(URL: https://helpx.adobe.com/aem-forms/6/custom-submit-action-form.html). For sending email use HtmlEmail class .

3. Recaptcha https://helpx.adobe.com/experience-manager/using/aem_recaptcha.html.  

 

Thanks,

Balu.

Avatar

Employee Advisor

Hi

What customization are you planning to do ? I am  not sure if you can customize the outbofbthw. If submit actions

the best option is to write your own custom submit action