Version:

    Component form helpers

    Component form helpers allow you to save Component form field elements or groups of form field elements. These form helpers can be used again without having to rebuild them. You can think of helpers as an advanced copy and paste function.

    When a Component form helper is added to the Component form builder it turns back into form field Elements. If you change the Helper, it will not affect any Helpers that have already been added to the Component form builder.

    Creating component form helpers directly from the component form builder

    You can save all or parts of your form as a Helper directly from your Component form builder. 

    To save a Helper:

    1. Navigate to an existing component and click edit
    2. Scroll down to the Component form builder and click the Options menu and click on Save as
    3. In the modal, enter a name for your Component form helper in the Title field. A short descriptive name is recommended
    4. In the Category drop-down, select a category of Helper. This organises your Helpers into logical categories to help you find them
    5. Click Save.

    Using your component form helpers

    You can use your Component form helpers to quickly add saved layouts to your Component form builder.

    To use your Helpers:

    1. Click on the + button on the Component form builder to open the Sidebar browser
    2. Click on the Dropdown icon at the top of the Sidebar browser
    3. Select Helpers from the dropdown list
    4. Drag your Helper onto the Component form builder from the Sidebar browser
    5. When dropped, the Helper will turn back into the form Elements that it's made from.

    Component form helpers can only be used on the Component form builder and not on a Layout canvas. 

    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.