Deleting fields from your component

    You can delete fields from your Component form.

    Deleting a Component field will delete all data that's been added to the field where it's been used. You should check where the Component is being used first before deleting a field from it.

    To delete a Component field:

    Step 1 - Remove the field link in the layout

    Before you delete a field from a Component you should first remove any dependancy on the field from within your layout. If you don't do this, your layout will try to render a field that doesn't exist. To remove the field link:

    1. On the Layout canvas, double click on the Element that's linked to the Component form field
    2. Click on the ...ellipsis menu and click Toggle variable mode
    3. Delete the field ID from the field
    4. Click on the ...ellipsis menu and click Toggle variable mode
    5. Click Apply.

    Step 2 - Delete the field

    1. On the Component form builder click on the ...ellipsis menu on the Form element and click Delete
    2. In the modal, click OK
    3. Click Save and continue.

    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.