Layout capabilities of Adaptive Forms layout-capabilities-of-adaptive-forms
Adobe recommends using the modern and extensible data capture Core Componentsfor creating new Adaptive Formsor adding Adaptive Forms to AEM Sites pages. These components represent a significant advancement in Adaptive Forms creation, ensuring impressive user experiences. This article describes older approach to author Adaptive Forms using foundation components.
Adobe Experience Manager lets you create easy-to-use Adaptive Forms that offer dynamic experiences to end users. The form layout controls how items or components are displayed in an Adaptive Form.
Types of layouts types-of-layouts
An Adaptive Form provides you with the following types of layouts:
Panel Layout Controls how items or components inside a panel are displayed on a device.
Mobile Layout Controls the navigation of a form on a mobile device. If the device width is 768 pixels or more, the layout is considered a Mobile layout and optimized for a mobile device.
Toolbar Layout Controls the placement of Action buttons in the toolbar or panel toolbar in a form.
All these panel layouts are defined at the /libs/fd/af/layouts
location.
To change the layout of an Adaptive Form, use the Authoring Mode in Experience Manager.
Panel layout panel-layout
A form author can associate a layout with each panel of an Adaptive Form, including the root panel.
The Panel layouts are available at /libs/fd/af/layouts/panel
location. Select the panel and select
to view the panel properties.
Responsive - everything on one page without navigation responsive-everything-on-one-page-without-navigation-br
Use this panel layout to create a responsive layout that adjusts to the screen size of your device without any need for specialized navigation.
Using this layout, you can place multiple Panel Adaptive Form components one after another inside the panel.
Wizard wizard
Use this panel layout to provide guided navigation inside a form. For example, use this layout when you want to capture mandatory information in a form while guiding users step by step.
Use the Panel Adaptive Form component to provide step-by-step navigation inside a panel. When you use this layout, a user moves to the next step only after the current step is complete
window.guideBridge.validate([], this.panel.navigationContext.currentItem.somExpression)
Accordion layout-for-accordion-design
Using this layout, you can place the Panel Adaptive Form component in a panel with accordion style navigation. Using this layout, you can also create repeatable panels. Repeatable panels enable you to dynamically add or remove panels as needed. You can define the minimum and the maximum number of times a panel repeats. Also, the title of the panel can be determined dynamically, based on the information provided in the panel items.
Summary expression can be used to show the values provided by the user in the title of the minimized panel.
Tabbed layout - tabs appear on the left tabbed-layout-tabs-appear-on-the-left
Using this layout, you can place the Panel Adaptive Form component in a panel with tab navigation. The tabs are placed on the left of the panel content.
Tabs appearing on the left of a panel
Tabbed layout - tabs appear on the top tabbed-layout-tabs-appear-on-the-top
Using this layout, you can place the Panel Adaptive Form Component in a panel with tab navigation. The tabs are placed on top of the panel content.
Mobile layouts mobile-layouts
Mobile layouts allow for user-friendly navigation on the mobile devices with relatively smaller screens. Mobile layouts use either tabbed or wizard styles for form navigation. Applying a Mobile Layout provides a single layout for the entire form.
This layout controls navigation using a navigation bar and a navigation menu. The navigation bar shows < and > icon to indicate next and previous navigation steps in the form.
The Mobile Layouts are available at /libs/fd/af/layouts/mobile/
location. The following mobile layouts are available in Adaptive Forms, by default.
Select the Add navigable items of responsive layout to mobile menu option to view the navigable options available for a panel in Mobile layout. The navigable options are visible only if you select Responsive layout for a panel.
When using a Mobile layout, the form menu, to access various form panels, is available by tapping icon.
Layout with panel titles in the form header layout-with-panel-titles-in-the-form-header
This layout, as the name suggests, shows panel titles along with the navigation menu and navigation bar. This layout also provides Next and Previous icons for navigation.
Layout without panel titles in the form header layout-without-panel-titles-in-the-form-header
This layout, as the name suggests, shows only the navigation menu and navigation bar without panel titles. This layout also provides Next and Previous icons for navigation.
See Also see-also
- Create an AEM Adaptive Form
- Add an AEM Adaptive Form to the AEM Sites page
- Apply themes to an AEM Adaptive Form
- Add components to an AEM Adaptive Form
- Use CAPTCHA in an AEM Adaptive Form
- Generate a PDF version (DoR) of an AEM Adaptive Form
- Translate an AEM Adaptive Form
- Enable Adobe Analytics for an Adaptive Form to track form usage
- Connect Adaptive Form to Microsoft SharePoint
- Connect Adaptive Form to Microsoft Power Automate
- Connect Adaptive Form to Microsoft OneDrive
- Connect Adaptive Form to Microsoft Azure Blob Storage
- Connect Adaptive Form to Salesforce
- Use Adobe Sign in an AEM Adaptive Form
- Add a new locale for an Adaptive Form
- Send Adaptive Form data to a database
- Send Adaptive Form data to a REST endpoint
- Send Adaptive Form data to AEM Workflow
- Use Forms Portal to list AEM Adaptive Forms on an AEM website
- Add versionings, comments, and annotations to an Adaptive Form
- Compare Adaptive Forms