You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Change label of custom field inputs in Inlay chat

Received Response
86
Views
1
Comments
edited Jan 12, 2021 12:02AM in Communication Channels 1 comment

Content

Hi all,

On inlay chat form, I was able to change the strings (labels) of the input boxes, title and button text using JSON config file.

The content of the JSON file is 

{
  "inlays": {
    "types": {
        "inlay-oracle-chat-embedded": {
        "attributes": { 
          "off-the-record-enabled": "true"
        },
        "strings": {
           "title" : "Live Chat",
           "launchFormFirstNameLabel": "First Name",
           "launchFormLastNameLabel": "Last Name",
           "launchFormEmailLabel": "Email",
           "launchFormSubmitText": "Chat Now"
   
 
        }
      }
    }
  }
}

Wondering if it is possible to change the label of custom field included on the form.

I have a custom field c$postcode included in the launch-form-fields attribute and the label defaults to the field name defined in the system.

 

Thanks,

Bishnu

Version

20C

Code Snippet

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!