LiveZilla Live Chat
EN  DE Please sign in or register Hi
Great software. Always works, looks good and makes us look like the pros we are.
Code Fish
Show all reviews

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: parameters will be added by LiveZilla during runtime


A simple PHP validation script would look like this:

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

Return to FAQ