Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2020-05-12 18:53:59

shotgun
Member
Registered: 2020-04-30
Posts: 39

Survey from button click

Hello, is there a way to show the survey from a button click the same way we can switch to a, contact, leave message form.
In a bot I've tried a button and for the argument passed "survey", 1 as variable for survey id as in the documents but didn't work any helps appreciated, thanks

Offline

#2 2020-05-12 19:24:11

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Survey from button click

You need to set status_sub = 5; // status_sub = erLhcoreClassModelChat::STATUS_SUB_SURVEY_SHOW;


https://github.com/LiveHelperChat/liveh … er.php#L41

Offline

#3 2020-05-12 19:49:40

shotgun
Member
Registered: 2020-04-30
Posts: 39

Re: Survey from button click

Excellent works perfect, thank you

Offline

Board footer