Websites v4 docs v5.2.5
    Preparing search index...

    Interface FormElementConfig

    Configuration for a Form element.

    formType is either a built-in lead form key (e.g. mortgage_enquiry) or a custom form reference in the form custom:<formId> pointing at one of the agency's configured forms.

    interface FormElementConfig {
        branchId?: string;
        buttonText?: string;
        formElements?: CustomFormElement[];
        formType?: string;
        gaName?: string;
        hideMarketingOptIn?: boolean;
    }
    Index

    Properties

    branchId?: string

    Optional branch to route built-in branch enquiry leads to. Empty routes to the agency.

    buttonText?: string
    formElements?: CustomFormElement[]

    Per-field layout/visibility config, indexed to a custom form's form_elements.

    formType?: string
    gaName?: string
    hideMarketingOptIn?: boolean