Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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

Avatar

Level 1

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

0 Replies

Avatar

Employee

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

Level 1

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

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