How can we help?

How to Display Online Form Only During Business Hours in LiveAgent

Customer context: The customer wants to display the online form only during specific daytime hours and show the offline form at other times in LiveAgent.

Customer question: Is it possible to display the online form only on specific daytime and the offline form otherwise?

Solution: LiveAgent does not offer a built-in feature to automatically switch between online and offline forms based on business hours. However, you can achieve this functionality with a custom script. By implementing the script, you can set your business hours so that the chat button (and online form) is shown only during those hours and hidden—or replaced with an offline form—outside of them. This gives you full control over chat availability according to your schedule. For step-by-step instructions, code examples, and setup guidance, please visit the following article: Automatically enable/disable chat button during business hours.