Adaptive forms - assembling from common fragments | Community
Skip to main content
Level 2
October 16, 2015
Solved

Adaptive forms - assembling from common fragments

  • October 16, 2015
  • 5 replies
  • 3560 views

Hi

Is it possible to create an adaptive form by assembling/stitching together common fragments.  By fragment, I mean some reusable section of a form such as an address block (street no., street name, city, zip code, etc), or name information (First Name, middle initial, last name, e-mail, etc.)

I would want to insert such fragments into an wizard-style adaptive layout.

Furthermore, I need to be able to pre-populate form data and save/load drafts of partially completed forms.

thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by deepak_k_

Adaptive Form Fragment support in not yet available but is on our road map. Till that is available, you can create composite components and use that as reusable collection of fields as mentioned here.

5 replies

deepak_k_Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Adaptive Form Fragment support in not yet available but is on our road map. Till that is available, you can create composite components and use that as reusable collection of fields as mentioned here.

bajwayaAuthor
Level 2
October 16, 2015

Thank you, the linked post is helpful.

Within an adaptive form, is it possible to show/hide some of the sections based on server logic.  For example, some templates using a wizard-style interface and I would want to be able to select which sections to show, hiding ones I may not need.

Also, how would I pre-populate data into a new form?

Adobe Employee
October 16, 2015

You can hide/show sections of an Adaptive Form depending upon the values of other Fields using the visibility expression[1] in the edit dialogs of the section. You can input a data xml to prepopulate the form as described in [2]

HTH

[1] http://helpx.adobe.com/aem-forms/6/adaptive-form-expressions.html#main-pars_header_5

[2] http://helpx.adobe.com/aem-forms/6/prepopulate-adaptive-form-fields.html

RashidJorvee
Level 4
June 4, 2018

Hi Deepak,

Given link is not working, could you please share the link once again.

Thanks!

Rashid

sudhansh
Adobe Employee
Adobe Employee
June 4, 2018

Hi Rashid,

Adaptive Form fragment support is available since AEM 6.1. For more details on the same you can refer to [1]. There are also some reference fragments available as seen in [2].

[1] Adobe Experience Manager Help | Adaptive form fragments

[2] Adobe Experience Manager Help | Reference adaptive form fragments