Skip to content

Custom Fields

Defining fields

Custom field creation and editing is limited to superusers. These can be created per agency account on request by the Syngency team. Ideally they should be used sparingly where existing fields or workarounds are unsuitable.

Field settings

SettingDescription
NameDisplay label shown in the UI
HandleSlug used to access the field in templates, e.g. manager_email
TypeSee Field types
Help TextOptional hint displayed below the field in the UI
PlaceholderOptional placeholder text shown inside the input
SectionsOne or more defined sections the field belongs to. A section relates to a specific element. Section names are shown in the UI, and section handles are used in the custom field template path, e.g. profile_links
Sort OrderControls the display order of the field within its section
RequiredMarks the field as required in the UI
SearchableWhen assigned to a Booking, the field is available as a search filter

Field types

TypeDescription
ContactA selectable contact from the agency's configured Contacts
DateA single date
DateRangeA start and end date
FileA file attachment
ImageAn image upload
NumberA numeric value
RichTextHTML rich text content
SelectA single value from a defined list of options
TagsMultiple values from the agency's configured tags
TextA short plain text string
TextareaA multiline plain text block
TimeA time value
URLA URL string

Supported elements

Custom fields can be attached to the following objects:

ElementNote
BookingEach defined Section appears at the bottom of the left menu
TalentEach defined Section appears at the bottom of the left menu
ContactEach defined Section appears at the bottom of the left menu
PageEach defined Section is rendered as a tab in the page editor panel
PostEach defined Section is rendered as a tab in the post editor panel

Template usage

From a corresponding template and object (e.g. a model or page), access custom field values using the section handle and field handle defined in the field settings.

liquid
{{ [object].custom_fields.[field_section_handle].[field_handle].value }}

{{ model.custom_fields.profile_links.manager_email.value }}
{{ page.custom_fields.page_options.hero_image.value }}

Submission forms

Talent custom fields can be filled via a submission form. Use the section handle and field handle as the input name in the format custom_fields[section_handle][field_handle]. For Select fields, the available options are exposed via .config.select_options.

Examples

Select field with configured options:

liquid
<label for="english_language_ability">How is your English language?</label>
{% select id:'english_language_ability', name:'custom_fields[act_information][english_language_ability]', options: custom_fields.act_information.english_language_ability.config.select_options, blank_option: true %}

Plain input:

liquid
<label for="number_in_group">Number of people in your act</label>
{% input type:'text', id:'number_in_group', name:'custom_fields[act_information][number_in_group]' %}