Adding an ENTER field to the OWA 2013\2016 VIP JS integration code in Symantec VIP
search cancel

Adding an ENTER field to the OWA 2013\2016 VIP JS integration code in Symantec VIP

book

Article ID: 150772

calendar_today

Updated On:

Products

VIP Service

Issue/Introduction

Adding an ENTER field to the OWA 2013\2016 VIP JS integration code 

Environment

VIP Integrations

Resolution

To add an ENTER field to the JS code in an OWA 2013\2016 VIP JS integration, add the following code to the script after the <script type="text/javascript"> line:

$(document).ready(function() {
    $('#username, #password, #OTP, .signinTxt').keypress(function(e){
        //console.log("ENTER pressed...");
        if (e.which == 13 || e.keyCode == 13) {
            vipAuth();
            return false;
        }
    });

});