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
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Custom Validation on Chat Form

edited Jun 22, 2018 12:52PM in Communication Channels 3 comments

Content

Hi, 

What I am trying to achieve without success is the ability to initiate chat only when certain conditions are met.

In particular, I have added a custom required dropdown field in the chat from (chat_launch.php) (the custom field is based on entity Incidents) with values  -- / Yes / No. When the value of this field is No, I would like to show an informative error and stop initiating a chat session (i.e. chat_landing.php). If the value is Yes only then proceed to show the chatting window. 

The idea is to have the customer's explicit consent prior to initiating a chat session (e.g. Agreeing to terms and conditions). 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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