Use Layout mode to resize components
The adaptive form and Interactive Communication Web channel 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.
If you are creating the Web channel using Print channel as master for an Interactive Communication, the components available for resizing also include the sub-forms and fields that are auto-generated in Web channel using Print channel. The Web channel retains the layout for the Print channel elements in Layout mode.
Access Layout mode
Select Layout from the drop-down list that appears at the top of the adaptive form and Interactive Communication 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 a new or open an existing adaptive form or an Interactive Communication.
- 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 undo all resizing changes and apply default layout to the panel containing resized components using the Revert breakpoint layout ( ) option. Tap the parent of the resized component to view the option.You cannot resize table column, toolbar, toolbar button, and target area components using the Layout mode. Use Style mode to resize these components.
- Parent: Select the parent of a component.
- Float to new line: Shift the component to the next line if there are multiple components within the same line.
Objective: You want to insert a table component and an Image component and position them parallel to each other in an Interactive Communication.
- Insert the table and image components using Edit mode in the web channel. 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.
Define multi-column layout for a panel
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 old responsive layouts
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:
- 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.
- Tap Yes to enable the Layout mode for the form.
Embed an old fragment in an adaptive form with new responsive layout
The new responsive layout for adaptive form allows you to 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
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.
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:
- 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.