Core Form Container (v2)
Form container written in HTL.
Features
- Form submit actions like sending emails, storing content
- Configurable list of allowed components
- Thank you page
Use Object
The Core Form Container component uses the com.adobe.cq.wcm.core.components.models.form.Container Sling Model for its Use-object.
Component Policy Configuration Properties
The following configuration properties are used:
./components- defines the allowed components that can be dropped onto a Form Container associated to this component policy./columns- defines the number of columns for the container's grid for a Form Container associated to this component policy
Edit Dialog Properties
The following properties are written to JCR for this Core Form Container component and are expected to be available as Resource
properties:
./actionType- defines the action that will be performed by the form./workflowModel- defines the workflow which should be started with the stored content as payload./workflowTitle- defines the workflow's title./redirect- if left empty the form will be rendered after submission, otherwise the user will be redirected to the page stored by this property./id- defines the component HTML ID attribute.
Client Libraries
The component provides a core.wcm.components.form.container.v2.editor editor client library category that includes
JavaScript handling for dialog interaction. It is already included by its edit dialog.
BEM Description
BLOCK cmp-form
Information
- Vendor: Adobe
- Version: v2
- Compatibility: AEM 6.3
- Status: production-ready
- Documentation: https://www.adobe.com/go/aem_cmp_form_container_v2