Use Layout mode to resize components for Adaptive Forms use-layout-mode-to-resize-components

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.

Version
Article link
AEM 6.5
Click here
AEM as a Cloud Service
This article

The Adaptive Form authoring interface enables you to resize components using the Layout mode. Drag 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.

Access Layout mode access-layout-mode

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.

  1. Log in to the Adobe Experience Manager author instance and navigate to Adobe Experience Manager > Forms > Forms & Documents.

  2. Create a new or open an existing Adaptive Form.

  3. Select Layout from the drop-down list that appears at the top next to the Preview option. The form displays in the Layout mode.

    Layout mode

Resize components resize-components

  1. In Layout mode, select the component to resize. The blue dots display at the start and end of the responsive grid.

  2. Drag-and drop the blue dots to define the position of the component in the responsive grid.

    Resizing using Layout mode

    The toolbar that displays after tapping components consists of the following options:

    • Parent: Select the parent of a component.
    • Revert breakpoint layout: Undo all resizing changes and apply default layout to the component.
    • Float to new line: Shift the component to the next line if there are multiple components within the same line.

    You can also use the Revert breakpoint layout ( Revert Breakpoint ) option at the panel-level to undo all resizing changes.

    note note
    NOTE
    You cannot resize table column, toolbar, toolbar button, and target area components using the Layout mode. Use Style mode to resize these components.

Example example

Objective: You want to insert a table component and an Image component and position them parallel to each other in an Adaptive Form.

  1. Insert the table and image components using Edit mode in the Adaptive Form. The image component display after the table component.

  2. Switch to Layout mode and select the Table component. The blue dots to resize the component display at column 1 and 12.

  3. Drag the blue dot at column 12 to column 6 of the responsive grid.

    Define the end point of the table

  4. Similarly, select the Image component and drag the blue dot at column 1 to column 7 of the responsive grid. The table and image components display parallel to each other.

    Table and the image in parallel in Layout mode

    You can select the Image component and select the Float to new line option available in the toolbar to shift the Image component to the next line.

Resize panels resize-panels-layout-mode

Execute the following steps if you want to resize the entire panel instead of individual components:

  1. Select any of the components in the panel that you want to resize, select Select Parent , 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.

  2. 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 Select Parent to shift the resized panel to the next line.

Define multicolumn layout for a panel

Execute the following steps to define the number of columns for a panel:

  1. In Edit mode, select the panel, select Configure , and select Responsive - everything on the page without navigation option from the Panel Layout drop-down list.

  2. Select Save to save the properties.

  3. In the Layout mode, select any of the components in the panel, select Select Parent , and select the panel.

  4. Select multi-column 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 multicolumn layout.

multi column in layout mode

Enable the new responsive grid for old responsive layouts enableresponsivegrid

Enable the new responsive grid for forms that you create using Adobe Experience Manager Forms 6.4 or lower version to resize components.

NOTE
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:

  1. Select Layout from the drop-down list that appears at the top next to the Preview option. A confirmation to enable the Layout mode displays.
  2. Select Yes to enable the Layout mode for the form.

Embed an old fragment in an Adaptive Form with new responsive layout embed-an-old-fragment-in-an-adaptive-form-with-new-responsive-layout

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.

Embed a fragment with new responsive layout in an old Adaptive Form embed-a-fragment-with-new-responsive-layout-in-an-old-adaptive-form

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 select Yes to confirm. Select Edit mode to re-embed the fragment.

Disable Layout mode for forms with old responsive layout disable-layout-mode-for-forms-with-old-responsive-layout

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:

  1. Select Tools > General > Templates and open the template used in the form in Edit mode.

  2. Select the Form Container in the left pane and select Policy.

    Disable Layout mode

  3. Select the Layout Settings tab and select Disable Layout Mode.

  4. Select Save changes to save the template properties.

See Also see-also

recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab