Form handlers are an alternative to Account Engagement forms. Form handlers contain form handler fields to gather information from prospects. You can use a form handler to integrate your third-party or custom forms with Account Engagement to track submission data.
Learn more about form handlers in Salesforce Help.
The API to access the Form Handler Field object follows the conventions described in Version 5 Overview.
These fields are required only for the create operation.
Field
Type
Description
name
String
Name of the object for identification in Account Engagement.
formHandlerId
Integer
The ID of the form handler this field belongs to.
dataFormat
Enum
The field’s data format. Values are “text”, “number”,“email”, “email not from isps and free email providers”, and “email with valid mail server”.
prospectApiFieldId
String
The name of the Account Engagement prospect field that the form handler field is mapped to. On standard fields the value is the name of the field. For example, “firstName”. If mapping to a custom field, the value is the field name followed by __c. For example, the custom field “foodChoice” becomes “foodChoice__c”.
Optional Editable Fields
Field
Type
Description
isMaintainInitialValue
Boolean
When true, the field maintains the initial value upon subsequent form submissions.
errorMessage
String
Error message for the field. If isRequired is true, and errorMessage is not provided, it assumes a default value: This field is required.
isRequired
Boolean
Defaults to false. When true, the field will be required for a valid submission of the form handler.
Updating a form handler field follows the conventions described in the Version 5 Overview.
Form Handler Field Delete
Deleting a form handler field follows the conventions described in the Version 5 Overview.
Form Handler Field Query
Retrieving a collection of form handler fields follows the conventions described in Version 5 Overview.
Sortable Fields
When executing a query, the following fields can be specified in the orderBy parameter. See the conventions for query described in the Version 5 Overview.
When executing a query, the following parameters can be used to filter the returned results. These parameters can be specified in the request along with any shared parameters defined in Version 5 Overview. When specifying more than one parameter, all parameters must match the record in order for it to be returned in the results.
Parameter
Description
id
Returns any form handler field where ID is equal to the given integer value.
idList
Returns any form handler field where ID is included in the given list of values.
idGreaterThan
Returns any form handler field where ID is greater than the specified value, non-inclusive.
idGreaterThanOrEqualTo
Returns any form handler field where ID is greater than or equal to the specified value.
idLessThan
Returns any form handler field where ID is less than the specified value, non-inclusive.
idLessThanOrEqualTo
Returns any form handler field where ID is less than or equal to the specified value.
formHandlerId
Returns any form handler field where formHandlerId is equal to the given integer.
createdAt
Returns any form handler field where CreatedAt is equal to the given datetime value.
createdAtAfter
Returns any form handler field where CreatedAt is after the given datetime value, non-inclusive.
createdAtAfterOrEqualTo
Returns any form handler field where CreatedAt is after or equal to the given datetime value.
createdAtBefore
Returns any form handler field where CreatedAt is before the given datetime value, non-inclusive.
createdAtBeforeOrEqualTo
Returns any form handler field where CreatedAt is before or equal to the given datetime value.