Skip to content
Log in

CustomFormAnswer - Liquid Object Reference

On this page

Description

The CustomFormAnswer object represents an answer to a CustomFormQuestion from a CustomForm.

:::note This object supports custom data via the data attribute. :::

Backed by

This drop renders the s_c__Form_Answer__c Salesforce object. A theme writes it as custom_form_answer.

Liquid attribute Salesforce field
answer s_c__Answer__c
data_type s_c__Data_Type__c
url s_c__URL__c

Every other attribute on this drop is derived by StoreConnect rather than read straight from one field. The Attributes section lists them all.

Fields you add yourself are not listed above. Expose one with a Custom Data Mapping record, then read it from custom_form_answer.data. See custom data fields in Liquid.

Attributes

Attribute Type Description
answer String Returns the answer of the CustomFormAnswer
data_type String Returns the data type of the CustomFormAnswer
editable? Boolean Returns true if the CustomFormAnswer is editable
id String Returns a unique ID for this CustomFormAnswer
question CustomFormQuestion Returns the CustomFormQuestion being answered by this CustomFormAnswer
question_content String Returns the content of the CustomFormQuestion being answered by this CustomFormAnswer
stale? Boolean Returns true if the CustomFormAnswer is stale
url String Returns the URL of file uploaded for the CustomFormAnswer

Available on

Was this article helpful?

Was this article helpful?