HELP FILE

Customizing the PIN Entry Form (EU-based enterprise customers)

    Articles related to customization are written for a technical audience who have experience in web development. Knowledge of HTML, CSS, and JavaScript are required.

    An integrated PIN entry form behaves identical to the www.LogMeIn123.com website, meaning that your customers have to contact a technician and enter the PIN code that they receive from the technician to the appropriate field. The advantage of integrating the PIN entry form is that you can customize the form to your company standards.

    You can modify the following elements of the PIN entry form:

    • Button caption
    • Text and text style
    • Enable tracking the language and entry point of customers

    The following is a sample PIN entry form with supported error messages that you can integrate into your website:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/
    DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Custom PIN entry</title>
        <meta name="referrer" content="no-referrer-when-downgrade">
        <script type="text/javascript">
            function pullQueryString() {
                var error = window.location.search;
                if (error.substring(0, 1) == "?") {
                    error = error.substring(1);
                }
                return error;
            }
        </script>
    </head>
    <body>
        <form name="Logmeinsupport" action="https://secure.logmeinrescue-enterprise.eu/Customer/Code.aspx"
     method="post" id="Logmeinsupport">
            <div>
    	       <b><font color="red">
                <script type="text/javascript">
                    var response = pullQueryString();
                    response = response.substring(22);
     
                    if(response.toLowerCase() == "pincode_missing"){
                        document.write("Assisted service can be obtained by first contacting
     support at 1 (800) 555-5555." + "<br />");
                    }
                    else if(response.toLowerCase() == "pincode_invalid"){
                        document.write("The PIN code you have entered is invalid." + "<br />");
                    }
    		else if(response.toLowerCase() == "pincode_expired"){
                        document.write("The PIN code you have entered is expired." + "<br />");
                    }
    		else if(response.toLowerCase() == "pincode_error"){
                        document.write("The PIN code you have entered is invalid." + "<br />");
                    }
    		else if(response.toLowerCase() == "pincode_alreadyused"){
                        document.write("The PIN code you have entered has already been used."
     + "<br />");
                    }
                    else{
                        document.write(response) + "<br />";
                    }
                </script>
    		         </font></b>
                <span>Enter your 6-digit code: </span><input type="text" name="Code" /><br />
                <input type="submit" value="Connect to technician" />
                <input type="hidden" name="tracking0" maxlength="64" /> <!-- optional -->
                <input type="hidden" name="language" maxlength="5" /> <!-- optional -->
                <input type="hidden" name="hostederrorhandling" value="1" />
            </div>
        </form>
    </body>
    </html>

    You can see this code sample in the Administration Center on the Resources tab under Custom Logmein123.com form.

    After inserting this sample code to your website, you will have the following entry form:

    Rescue supports the following error messages:

    • PINCODE_MISSING: The customer did not enter a PIN.
    • PINCODE_INVALID: The PIN code is invalid, for example mistyped.
    • PINCODE_EXPIRED: The PIN code that the technician supported expired.
    • PINCODE_ERROR: The company or technician who generated the PIN code is no longer valid. For example, their trial account expired, account is blocked, banned, deleted, or technician is deleted.
    • PINCODE_ALREADYUSED: The PIN was already used.
    Article last updated: 23 November, 2022