$existsCookie

Examines if the a cookie with the given name exists.
Syntax
    $existsCookie{cookie_name}
DocumentationExamines if a cookie with the given name exists:

    Parameter:
      cookie_name, the name of the cookie whos existance is to be examined.
    Returns:
      1 if and only if the cookie with the given name exists; 0 otherwise.
Examples
    <INPUT size=12 type=text NAME="Username"
    $if{$existsCookie{Username}}
      {
      VALUE="$getCookie{Username}{}">
      }
        {
        VALUE="enter username">
        }

    Result:
    if cookie "Username" exists, the value appears in the textfield: <Cookie> . If cookie "Username" does not exist, "enter username" appears in the textfield "enter username".
GroupNet
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_ADVANCED
Minimum parameters1
Maximum parameters 1