Leopard Chat Client
  • Quick Start
  • Screenshots
  • Setup
    • Extension Helper
    • Context Variables
      • Greeting Message
      • Channel
      • User's Time Zone
      • Location Context Parameters
    • Build Variables
  • Content Styling
    • CSS Styles
    • Icons
    • Markdown & HTML
  • Components Simple Syntax
  • Components
    • Answer Borders
    • Audio Player
    • Auto Open Leopard with Link
    • Alerts
    • Buttons and Lists
    • Card
    • Response Icons
    • Date & Time Pickers
    • Emergency Button
    • Expensive Operations
    • Field Masks
    • Chat Field Types (Email, Password, Location, Upload)
    • Forms
      • Feedback Form
      • Custom Forms
        • Example Config
        • Postback Object
        • Button Object
        • Field Types
        • Style Object
        • Icons Object
        • Masks
        • Validation
    • Google Map
    • Help Text
    • HTML Modal
    • Hyperlinks
    • Images
      • Image
      • Image Carousel
    • Tables
      • Tables - Simple
      • Tables - Advanced
    • Theme Change
    • Toasts
    • Language Auto Switch
    • Minimize Chat after Delay
    • Multiple Components - Same Response
    • Modal Size & Positioning
    • Open Long Response in Modal
    • Print Icon
    • Prompt Trigger Polling
    • Splitting Answers - Chunks
    • Video Player
  • Administration Area
    • Solution Configuration
    • Demo Mode - iFrames & URLs
    • ASR and TTS
  • Integrations
    • Logging / Reporting
    • Social Authentication
    • Live Chat
  • Embedding / Production
Powered by GitBook
On this page
  • Introduction
  • Screenshots
  1. Components

Open Long Response in Modal

Describes how you can configure your solution to automatically open up a modal window when the answer text is greater than 400 characters

PreviousModal Size & PositioningNextPrint Icon

Last updated 6 years ago

Introduction

If the case where your Teneo Response answers are very long are imported from the bulk import tool or they are arriving from a CMS you can instruct Leopard in the solution config area to crop the long response in the main chat window and present a modal containing the longer answer text.

This saves the effort in having to go through each answer and having to manually add the output parameters to show a modal. Current configuration is set to look for answers greater than 400 chars and if found the answer will be truncated at 300 chars and ellipsis added. A "more" button will be shown and a modal will open with the user's question as the title and the body containing the long answer text. By default this new feature is not enabled until you instruct Leopard to do so.

Screenshots

Long Response are cut short at 400 chars and the full response can be seen by clicking on the "more" button