Adobe recommends using the modern and extensible data capture Core Components for creating new Adaptive Forms or 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.
|AEM as a Cloud Service||Click here|
|AEM 6.5||This article|
The adaptive form authoring interface enables you to resize components using the Layout mode. Drag-and-drop blue dots within columns to define the start and end points to position components. The blue dots display after tapping the component within the responsive grid. The responsive grid consists of 12 equal columns. The white and blue color shading in alternate columns differentiates one column from the other.
You can use the Layout mode to resize components for all device types such as desktop, tablet, phone, and other smaller devices. The tablet automatically derives the layout configuration from the desktop version and the smaller devices derive layout configuration from phone. However, you can override the automatically derived configurations to define a different configuration for each device type.
Select Layout from the drop-down list that appears at the top of the adaptive form authoring interface next to the Preview option. The form displays in the Layout mode.
Log in to the AEM author instance and navigate to Adobe Experience Manager > Forms > Forms & Documents.
Create an adaptive form or open an existing one.
Select Layout from the drop-down list that appears at the top next to the Preview option. The form displays in the Layout mode.
In Layout mode, tap the component to resize. The blue dots display at the start and end of the responsive grid.
Drag-and drop the blue dots to define the position of the component in the responsive grid.
The toolbar that displays after tapping components consists of the following options:
You can also use the Revert breakpoint layout ( ) option at the panel-level to undo all resizing changes.
You cannot resize table column, toolbar, toolbar button, and target area components using the Layout mode. Use Style mode to resize these components.
Objective: You want to insert a table component and an Image component and position them parallel to each other in an adaptive form.
Insert the table and image components using Edit mode in the adaptive form. The image component display after the table component.
Switch to Layout mode and tap the Table component. The blue dots to resize the component display at column 1 and 12.
Drag-and-drop the blue dot at column 12 to column 6 of the responsive grid.
Similarly, select the Image component and drag-and-drop the blue dot at column 1 to column 7 of the responsive grid. The table and image components display parallel to each other.
You can select the Image component and tap the Float to new line option available in the toolbar to shift the Image component to the next line.
Execute the following steps if you want to resize the entire panel instead of individual components:
Tap any of the components in the panel that you want to resize, select , and select the first option in the drop-down list, if the panel is the immediate parent of the component.
The blue dots display at the start and end of the responsive grid.
Drag-and drop the blue dots to define the position of the panel in the responsive grid.
You can repeat steps 1 and 2 and select to shift the resized panel to the next line.
Execute the following steps to define the number of columns for a panel:
In Edit mode, tap the panel, select , and select Responsive - everything on the page without navigation option from the Panel Layout drop-down list.
Tap to save the properties.
In the Layout mode, tap any of the components in the panel, select , and select the panel.
Tap and select the number of columns from the drop-down list. The number of columns can range from 1 to 12. The panel gets divided into a multi-column layout.
Enable the new responsive grid for forms that you create using AEM Forms 6.4 or lower version to resize components.
Switching to the new responsive grid discards the layout properties already defined for components used in the form.
Perform the following steps to enable the new responsive grid:
The new responsive layout for adaptive form lets you add an adaptive form fragment with the old responsive layout to the form. However, the new layout discards the layout properties already defined for components used in the fragment. You can switch to the Layout mode to define the layout properties for components used in the fragment.
If you embed a fragment with the new responsive layout in an adaptive form with an old responsive layout, the system prompts you to enable the Layout mode for the form and re-embed the fragment.
To enable the Layout mode, select Layout from the drop-down list that appears at the top next to the Preview option and tap Yes to confirm. Select Edit mode to re-embed the fragment.
You can disable the Layout mode for forms with old responsive layout by editing properties for the template used in the form.
Perform the following steps to disable the Layout mode:
Select Tools > General > Templates and open the template used in the form in Edit mode.
Select the Document Container in the left pane and tap Policy.
Tap the Layout Settings tab and select Disable Layout Mode.
Tap to save the template properties.