LiveZilla Live Chat
1-Click Demo
EN  DE Please sign in or register Hi

Frequently Asked Questions

How can I validate user inputs before granting access to the chat?

LiveZilla provides a simple but powerful validation functionality that allows you to process/validate user inputs before granting access to the chat or allowing to create a ticket.

When this feature is activated, LiveZilla will send the user input value to a self written script that validates the input and returns the Javascript command to grant or decline access.

This can be set up individually for each of your chat / ticket input fields.

Please find the related configuration under:

Server Configuration -> Input Fields -> Validation

You will need to specify the URL of your custom validation script. LiveZilla will pass two GET parameters to your script on runtime.

GET Parameters
  1. inputid
    The id of the input field.

  2. value
    The user input.

Example URL:

Please note: placeholders (<!--...-->) will be replaced by LiveZilla during runtime


A simple PHP validation script would look like this:

if($_GET["inputid"] == "111" && $_GET["value"] == "secret")
    echo "lz_validate_input_result(true,111);";
    echo "lz_validate_input_result(false,111);";

Return to FAQ