Custom Fields
Custom Fields are not typically required, but you must check with your SmashFly Customer System Administrator for their custom field requirements.
Custom Field Labels and IDs
SmashFly Customer System Administrators can view their custom field Labels and Field IDs in the SmashFly Configuration module under Contacts > Custom Fields.
Custom Field Code Values
Field values that include special characters must be wrapped in beginning and ending CDATA tags.
For custom fields that allow for selection (Drop-Down, List Box, Radio Button List, and Check List field types), the code values for the options that are available for selection must be passed in the API. The codes for each field can be found by the SmashFly Customer System Administrator in the Configuration module under Contacts > Custom Fields > options (for the relevant field).
Custom Field Categories
SmashFly allows a limited number of each category of custom field, as described in the following table.
Field Category | Field Node | Allowed Number of Fields of This Category | Field Type | Length Limit (in characters) |
---|---|---|---|---|
Short Text Field (Text Box or Selector) | ShortTextField1 through ShortTextField30 | 70 | String | 50 |
Medium Text Field (Text Area) | MediumTextField1 through MediumTextField5 | 15 | String | 256 |
Long Text Field (Text Editor) | LongTextField1 and LongTextField2 | 10 | String | 4,000 |
Date Field | DateField1 through DateField10 | 10 | Date/Time | YYYY-MM-DD [hh:mm:ss[.mmm]] |
Numeric Field (Integer Text Box) | NumericField1 through NumericField10 | 10 | Float | Supports up to 2 decimals |