A Developers Blog: LiveEngage - Remove Cancel & Submit Buttons From Offline Survey

This blog has moved to GitHub, and you should be redirected shortly...

Friday, October 23, 2015

LiveEngage - Remove Cancel & Submit Buttons From Offline Survey

Update: This method is now outdated. Now, in LiveEngage, when you create a new survey with no questions, it will automatically remove the Submit button from the survey.
The purpose of this tutorial is to show you how to remove the Cancel & Submit buttons from your offline survey in LiveEngage.

The default offline survey in LiveEngage is nice, but sometimes you want added functionality that is not there, or sometimes you want to display your own custom offline message, but you do not want the customers to leave an offline message using the LiveEngage chat.

We can prevent the user from leaving a message by removing the Submit button from the offline survey. To do this, we will need to add some code to the header on the survey. The header allows for you to add your own custom CSS, which is how we will hide those buttons. You can make changes to your main offline survey, but it is recommended that you test the changes first before you push changes to your live site.

Note: In LiveEngage, if you have an offline survey with no questions on it, then the header will not generate on your survey. To have an offline survey with just your custom message and no buttons, you will need to add a question to your survey, and we can use CSS to hide that question.

Let's get started (if you already know how to edit your offline survey, go to step 4):

1. In LiveEngage, go to your campaigns tab and choose the window that you would like to edit the offline survey for.

2. Now, on the views drop down, choose offline survey.

3. Next, click on the '+' icon to add elements to your survey. In the pop up window that opens, click the check box next to 'Heading'.


4. Then on survey, click the text "Click to edit survey heading" to add CSS code to your survey. Add the following code to your survey:

5. Now, save your changes, and head over to your test site to see the changes. On your offline survey you should see your message appear and there should be not buttons on your survey.



Summary: This tutorial showed you how to remove the Cancel & Submit buttons from the Offline Surevey.

I hope you enjoyed this tutorial. If you have any questions or comments, please feel free to post them below.

Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home