{"title":"CustomForm - Liquid Object Reference","slug":"custom-form-liquid-object-reference","url":"https://support.storeconnect.com/articles/custom-form-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/custom-form-liquid-object-reference.md","subtitle":null,"summary":"The CustomForm object represents a form which is used to collect data from users.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, CustomForm, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe CustomForm object represents a form which is used to collect data from users.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `answers` | List[[CustomFormAnswer](custom-form-answer-liquid-object-reference)] | Returns the list of CustomFormAnswers for this CustomForm |\n| `display_mode` | String | Returns the display mode for this CustomForm |\n| `id` | String | Returns a unique ID for this CustomForm |\n| `identifier` | String | Returns the identifier of the CustomForm |\n| `item` | [CartItem](cart-item-liquid-object-reference) | Returns the CartItem associated with this CustomForm |\n| `name` | String | Returns the name of the CustomForm |\n| `questions` | List[[CustomFormQuestion](custom-form-question-liquid-object-reference)] | Returns the list of CustomFormQuestions this CustomForm |\n| `success_content` | String | Returns the success content of the CustomForm as HTML |\n| `success_page` | [Page](page-liquid-object-reference) | Returns the success page of the CustomForm |\n| `type` | String | Returns the type of the CustomForm |\n\n## Available on\n\n- [Cart - Liquid Object Reference](cart-liquid-object-reference) — `custom_forms`\n- [CartItem - Liquid Object Reference](cart-item-liquid-object-reference) — `custom_forms`\n- [CustomFormQuestion - Liquid Object Reference](custom-form-question-liquid-object-reference) — `form`\n- [CustomFormSubmission - Liquid Object Reference](custom-form-submission-liquid-object-reference) — `custom_form`\n- [Global - Liquid Object Reference](global-liquid-object-reference) — `all_custom_forms`\n- [Order - Liquid Object Reference](order-liquid-object-reference) — `custom_forms`\n- [OrderItem - Liquid Object Reference](order-item-liquid-object-reference) — `custom_forms`\n- [Product - Liquid Object Reference](product-liquid-object-reference) — `custom_forms`"}