Version:

Acquia Cohesion renames to Site Studio from version 6.2. Tell me more.

    Define and manage the form

    Like any other component, you can add a form to your custom component. To build a custom component form, Site studio provides an interface similar to components. In this UI you will be able to add fields and layout to your form. You are also able to add dropzones to your custom component.

    To add a form to a custom component:

    • Go to admin/cohesion/components/custom-component-builder and build your form 
    • Export the .json file from the bottom of the page
    • Place that exported .json file alongside the YAML of your custom component
    • Add a form property to the YAML file with the path to the form json as a value

    To edit a form of a custom component

    • Go to the list of components and click edit on the custom component 
    • Change the form and export the .json file
    • Replace the form .json file of the custom component by the one you exported
    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.