Websites v4 docs v8.3.1
    Preparing search index...

    Function useHasCustomSearchForm

    • Whether customSearchForms has a key matching the given name (case-insensitive). Used to hide the default Sales/Lettings tab when a custom form of the same name already provides it, so it isn't rendered twice.

      Parameters

      • customSearchForms: { [name: string]: SectionElement } | undefined
      • name: string

      Returns boolean