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

How to create a simple and functional form with AEM6.2 ?

Avatar

Level 2

Can someone point me to a quick guide how to create a simple AEM6.2 form using standard Adaptive Form (or just Form) component ?

How to define an email address where the submitted forms go to ? How to manage a form submission confirmation (email message to a person who has submitted a form) ?

All the info I am able to google is not clear and confusing. Lots of articles refer to AEM Forms 6.2 package that we are not using.

 

Please help.

4 Replies

Avatar

Administrator

Hi 

Please have a look at this Helpx link:- https://helpx.adobe.com/aem-forms/6/help-tutorials.html

// This kind of Getting started with AEM Forms.

 

But if you are not using it, then i would suggest you to simply create a HTML form:

Like done in these Helpx article:- https://helpx.adobe.com/experience-manager/using/restful-services.html Or https://helpx.adobe.com/experience-manager/using/jackrabbit-users.html

 

Thanks and Regards

Kautuk Sahni

Avatar

Level 10

In this article - we create a basic adaptive form: 

https://helpx.adobe.com/experience-manager/using/posting-aem-6-form-data.html

It very easy via drag and drop of controls. Basically - this is the procedure: 

To create an adaptive form with the four fields specified in this section, perform these steps:

  1. Access AEM forms Author instance at http://[server]:[port]/<custom-context-if-any>.
  2. Enter your credentials on the AEM login page. On the left panel, click the Forms link.
    For a default installation, the login is admin and the password is admin.
  3. Click and select Create adaptive form.
  4. The available templates are displayed. Click a template to select it and click Next.
  5. Enter a name, title, and description for the form, and click Create. Name the form Customer
  6. Click Open or Done to open the newly created form in a new tab. The form displays the contents available in the template and also displays the Sidekick to customize the newly created form according to the needs. Drag four text fields onto your form named FirstLastCity and Address.
  7. After an adaptive form is created, it is listed in the folder alongside other forms and assets. Hover the pointer on the form thumbnail, and click to open the form in editing mode.

Avatar

Level 2

@smacdonald2008, @kautuksahni,

Thanks guys.

Looks like your suggestions require some workarounds with Java classes (Eclipse/Maven tools usage) and advanced AEM Development knowledge/skills.

Is there any way to get by creating bundles and build a simple functional form (that sends emails) having just a CRX/DE access ?

Thank you.

Avatar

Level 10

I think one of the Adaptive form's submit action is to send an email without coding Java in an OSGi bundle.

See this article:

https://helpx.adobe.com/aem-forms/6/custom-submit-action-form.html

I hope this helps....