www.riversideonlinetest.com
Open in
urlscan Pro
2606:4700::6812:e62
Public Scan
Submitted URL: http://riversideonlinetest.com/
Effective URL: https://www.riversideonlinetest.com/studentlogin.aspx
Submission Tags: tranco_l324
Submission: On March 17 via api from DE — Scanned from DE
Effective URL: https://www.riversideonlinetest.com/studentlogin.aspx
Submission Tags: tranco_l324
Submission: On March 17 via api from DE — Scanned from DE
Form analysis
1 forms found in the DOM/studentlogin.aspx
<form id="form1" action="/studentlogin.aspx" autocomplete="off">
<header class="main-header-container" role="banner">
<div class="main-header">
<div class="header-logo" aria-roledescription="logo">
</div>
<div style="text-align:right;display:inline;position: absolute;right: 50px;top: 12px;">
<button type="button" id="back-ipad" style="display: none;" class="btn-hdr btn-back" onclick="goBack();">
<div class="icon"></div><span>Back</span>
</button>
</div>
</div>
</header>
<div class="main-sub-header">
<div class="main-sub-header-logo"></div>
</div>
<div>
<script type="text/javascript" src="/scripts/proctorUtility.js"></script>
<script src="/scripts/maskedinput/jquery.maskedinput-1.3.js" type="text/javascript"></script>
<div id="divStudentLogin" style="">
<div class="student-login-box">
<div class="student-login-info"><span class="student-login-required">*</span> = Required Fields</div>
<div class="student-login-header">Sign In</div>
<div class="student-login-outer-block">
<div class="student-login-section">
<div class="student-login-caption-block">FIRST NAME<span class="student-login-required">*</span></div>
<div class="student-login-field-block"><input type="text" id="txbFirstName" maxlength="30" class="student-login-textbox" tabindex="0" placeholder="First Name"></div>
</div>
<div class="student-login-line-left"></div>
<div class="student-login-line-right"></div>
<div class="student-login-section">
<div class="student-login-caption-block">STUDENT ID<span class="student-login-required">*</span></div>
<div class="student-login-field-block"><input type="text" id="txbStudentId" maxlength="30" class="student-login-textbox" tabindex="1" placeholder="Student ID"></div>
</div>
</div>
<div class="student-login-outer-block">
<div class="student-login-section">
<div class="student-login-caption-block">LAST NAME<span class="student-login-required">*</span></div>
<div class="student-login-field-block"><input type="text" id="txbLastName" maxlength="30" class="student-login-textbox" tabindex="0" placeholder="Last Name"></div>
</div>
<div class="student-login-line-left"></div>
<div class="student-login-line-right"></div>
<div class="student-login-section">
<div class="student-login-caption-block">SESSION CODE<span class="student-login-required">*</span></div>
<div class="student-login-field-block"><input type="text" id="txbSessionCode1" maxlength="8" class="student-login-textbox" tabindex="1" placeholder="Session Code"></div>
</div>
</div>
<div class="student-login-outer-block">
<div class="student-login-section">
<div class="student-login-caption-block">BIRTH MONTH<span class="student-login-required">*</span></div>
<div class="student-login-field-block">
<div>
<select aria-label="Birth Month" class="dm-ui-single-select" id="selBirthMonth" name="selBirthMonth" style="display:none;">
<option value="0" selected="selected"></option>
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
<div class="dm-ui-dropdown-singleselect dm-ui-dropdown-widget" data-allow-diselection="true" id="selBirthMonth_dm_ui" role="application">
<label role="alert" style="height: 0px; width:0px; overflow: hidden;" tabindex="-1"></label>
<button class="dm-ui-dropdown-button" data-default-text="Select Birth Month" role="listbox" type="button">
<span class="placeholder">Birth Month</span>
</button>
<div class="dm-ui-dropdown-content" style="display:none;">
<ul class="dm-ui-dropdown-items">
<li id="liJanuary_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="1" role="listitem" tabindex="0">January</li>
<li id="liFebruary_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="2" role="listitem" tabindex="0">February</li>
<li id="liMarch_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="3" role="listitem" tabindex="0">March</li>
<li id="liApril_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="4" role="listitem" tabindex="0">April</li>
<li id="liMay_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="5" role="listitem" tabindex="0">May</li>
<li id="liJune_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="6" role="listitem" tabindex="0">June</li>
<li id="liJuly_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="7" role="listitem" tabindex="0">July</li>
<li id="liAugust_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="8" role="listitem" tabindex="0">August</li>
<li id="liSeptember_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="9" role="listitem" tabindex="0">September</li>
<li id="liOctober_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="10" role="listitem" tabindex="0">October</li>
<li id="liNovember_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="11" role="listitem" tabindex="0">November</li>
<li id="liDecember_dm_ui" aria-checked="false" class="dm-ui-li-item" data-alt-value="" data-value="12" role="listitem" tabindex="0">December</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="student-login-or student-login-or-text">OR</div>
<div class="student-login-section"></div>
</div>
<div class="student-login-outer-block">
<div class="student-login-section">
<div class="student-login-caption-block">BIRTH DAY<span class="student-login-required">*</span></div>
<div class="student-login-field-block">
<div>
<select aria-label="Birth Day" class="dm-ui-single-select" id="selBirthDay" name="selBirthDay" style="display:none;">
<option value="0" selected="selected"></option>
</select>
<div class="dm-ui-dropdown-singleselect dm-ui-dropdown-widget" data-allow-diselection="true" id="selBirthDay_dm_ui" role="application">
<label role="alert" style="height: 0px; width:0px; overflow: hidden;" tabindex="-1"></label>
<button class="dm-ui-dropdown-button" data-default-text="Select your birth day" role="listbox" type="button">
<span class="placeholder">Birth Day</span>
</button>
<div class="dm-ui-dropdown-content" style="display:none;">
<ul class="dm-ui-dropdown-items">
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="student-login-or"></div>
<div class="student-login-section"></div>
</div>
<div class="student-login-outer-block">
<div class="student-login-section">
<div class="student-login-caption-block">SESSION CODE<span class="student-login-required">*</span></div>
<div class="student-login-field-block"><input type="text" id="txbSessionCode" maxlength="8" class="student-login-textbox" placeholder="Session Code"></div>
</div>
<div class="student-login-line-left"></div>
<div class="student-login-line-right"></div>
<div class="student-login-section"></div>
</div>
<div class="student-login-outer-block">
<div class="student-login-section"></div>
<div class="student-login-line-left"></div>
<div class="student-login-line-right"></div>
<div class="student-login-section"></div>
</div>
<div class="student-login-outer-block">
<div class="student-login-section student-login-button-container"><input type="button" class="dm-ui-button-primary dm-ui-button-medium" value="Sign In" id="btnLogin" tabindex="0"></div>
<div class="student-login-line-left"></div>
<div class="student-login-line-right"></div>
<div class="student-login-section student-login-button-container"><input type="button" class="dm-ui-button-primary dm-ui-button-medium" value="Sign In" id="btnLogin1" tabindex="1"></div>
</div>
<div class="student-login-outer-block">
<div class="student-login-section"></div>
<div class="student-login-line-left"></div>
<div class="student-login-line-right"></div>
<div class="student-login-section"></div>
</div>
<div class="student-login-error">
<div id="divErrorMessage"></div>
</div>
</div>
</div>
<div id="ContentPlaceHolder1_divWinXPMessage" style="text-align: center; font-size: 14px; margin-top: 80px;display:none;">If you are using a Microsoft Windows® XP computer and will be taking an <br> audio-led assessment,
<a href="javascript:void(0);" id="ContentPlaceHolder1_aFlashLink">you can click here </a> to download Adobe Flash.</div>
<script type="text/javascript" language="javascript">
var lbServer = "";
var preHighlightedCtrl = "";
function enterPressed(e) {
//debugger;
var t = $(this).attr("id");
var code = (e.keyCode ? e.keyCode : e.which);
if (code == 13) {
if (t == "txbSessionCode1") validateBeforeLogin();
else {
validateToLogin();
}
}
}
$("#txbSessionCode1").keypress(enterPressed);
$("#txbSessionCode").keypress(enterPressed);
$(document).ready(function() {
$("#divStudentLogin").show();
$('#form1').attr("autocomplete", "off");
$('#btnLogin').live('click', validateToLogin);
$('#btnLogin1').live('click', validateBeforeLogin);
$("#txbSessionCode").mask("99-9999?9", {
placeholder: " "
});
$("#txbSessionCode1").mask("99-9999?9", {
placeholder: " "
});
serviceURLBase = '/Services/';
window.onerror = function() {
enableButtons();
};
$('#loginError').dialog({
autoOpen: false,
closeOnEscape: true,
modal: true,
width: 600,
height: 250,
position: 'center',
buttons: [{
text: "OK",
click: function() {
$(this).dialog("close");
}
}],
open: function() {
$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-message-titlebar").css({
"background": "#D0DCF6",
"color": "black",
"border-color": "#316AC5",
"border": "0"
});
$(this).parents(".ui-dialog:first").find(".ui-button").css({
"background": "#D0DCF6",
"border-color": "#316AC5",
"color": "black"
});
$(".ui-dialog-titlebar-close").hide();
}
});
$('#duplicateStudentsDiv').dialog({
autoOpen: false,
modal: true,
"title": "More than one student exist with the same student id in the grade. Please select a student from the list below. Click Ok to log in as the selected student or Cancel to go back to the login screen.",
width: 700,
height: 250,
position: [300, 50],
buttons: {
" Yes ": {
text: "Ok",
click: function() {
window.callStudentLogin();
}
},
"Cancel": function() {
enableButtons();
$(this).dialog("close");
}
},
open: function() {
$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar-close").hide();
$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-message-titlebar").css({
"background": "#D0DCF6",
"color": "black",
"border-color": "#316AC5",
"border": "0"
});
$(this).parents(".ui-dialog:first").find(".ui-button").css({
"background": "#D0DCF6",
"border-color": "#316AC5",
"color": "black"
});
}
});
//Proctorio: Hide Exception as proctorio will fix in the issue in the next release
setTimeout(function() {
if ($('#proctorio_3p_invalid_test').length > 0) {
$('#proctorio_3p_invalid_test').hide();
}
}, 1000);
});
function ctrlToHighlight(errorMessage, ctrlToFocus) {
$('#divErrorMessage').html(errorMessage);
for (var i = 0; i < ctrlToFocus.length; i++) {
if (i == 0) $('#' + ctrlToFocus[0]).focus();
//IE7 issue with highlighting drop down
highlightControl(ctrlToFocus[i], true);
for (var j = 0; j < preHighlightedCtrl.length; j++) {
if (preHighlightedCtrl[j] == ctrlToFocus[i]) {
preHighlightedCtrl[j] = "";
break;
}
}
}
for (var i = 0; i < preHighlightedCtrl.length; i++) {
if (preHighlightedCtrl[i] != "" && (!isBlank($('#' + preHighlightedCtrl[i]).val()))) {
highlightControl(preHighlightedCtrl[i], false);
}
}
preHighlightedCtrl = ctrlToFocus;
}
var loginRunning = false;
function validateToLogin() {
//if (loginRunning)
// return;
disableButtons();
//loginRunning = true;
try {
var missingControls = [];
if (isBlank($('#txbFirstName').val())) {
missingControls.push("txbFirstName");
}
if (isBlank($('#txbLastName').val())) {
missingControls.push("txbLastName");
}
if (isBlank($('#selBirthMonth :selected').text())) {
missingControls.push("selBirthMonth_dm_ui");
}
if (isBlank($('#selBirthDay :selected').text())) {
missingControls.push("selBirthDay_dm_ui");
}
if (isBlank($('#txbSessionCode').val())) {
missingControls.push("txbSessionCode");
}
console.log(missingControls);
for (var i = 0; i < preHighlightedCtrl.length; i++) {
highlightControl(preHighlightedCtrl[i], false);
}
if (missingControls.length > 0) {
ctrlToHighlight("Incomplete information. Complete the missing fields.", missingControls);
enableButtons();
} else validateLogin($('#txbSessionCode').val(), null, false);
} catch (e) {
enableButtons();
}
//loginRunning = false;
}
function validateBeforeLogin() {
//debugger;
//if (loginRunning)
// return;
disableButtons();
//loginRunning = true;
try {
var missingControls = [];
if (isBlank($.trim($('#txbStudentId').val()))) {
missingControls.push("txbStudentId");
}
if (isBlank($('#txbSessionCode1').val())) {
missingControls.push("txbSessionCode1");
}
for (var i = 0; i < preHighlightedCtrl.length; i++) {
highlightControl(preHighlightedCtrl[i], false);
}
if (missingControls.length > 0) {
ctrlToHighlight("Incomplete information. Complete the missing fields.", missingControls);
enableButtons();
} else preValidateLogin($('#txbSessionCode1').val());
//validateDuplicateStudentLogin($('#txbSessionCode1').val());
} catch (e) {
enableButtons();
}
//loginRunning = false;
}
//function to highlight dropdown - IE7 issue
function highlightControl(ctrlToHighlight, highlight) {
if (($.browser.msie && parseInt($.browser.version, 10) < 8) && ($('#' + ctrlToHighlight).is("select"))) {
if (highlight) {
$('#' + ctrlToHighlight).closest('label').css('border', "solid red 1px");
} else {
$('#' + ctrlToHighlight).closest('label').css('border', "solid none 1px");
}
} else {
if (highlight) {
$('#' + ctrlToHighlight).css('border', "solid red 1px");
} else {
$('#' + ctrlToHighlight).css('border', "solid silver 1px");
}
}
}
function validateDuplicateStudentLogin(sessionCode) {
var studentId = $.trim($('#txbStudentId').val());
var postData = '{' + '"sessionCode": "' + sessionCode + '",' + '"studentId": "' + studentId + '",' + '}';
$.ajax({
type: "POST",
url: '/Services/Login.ashx?action=validateduplicatestudentlogin',
contentType: "application/x-www-form-urlencoded",
dataType: "text",
data: postData,
success: function(data) {
processDuplicateLogin($.parseJSON(data), sessionCode);
},
error: loginajaxError
});
}
//
//Prevalidate Login: Check Provides POP student FirstName Last yes / no
function preValidateLogin(sessionCode) {
//debugger;
$('#lblFirstName').val('');
$('#preValLastName').val('');
$('#preValFirstName').val('');
$('#divErrorMessage').html('');
var firstName = $('#txbFirstName').val();
var lastName = $('#txbLastName').val();
var birthMonth = $('#selBirthMonth').val();
var birthDay = $('#selBirthDay').val();
var studentId = $.trim($('#txbStudentId').val());
var isPreValidateLogin = "true";
var analyticsData = '';
//debugger;
var postData = '{' + '"firstName": "' + firstName + '",' + '"lastName": "' + lastName + '",' + '"birthMonth": "' + birthMonth + '",' + '"birthDay": "' + birthDay + '",' + '"sessionCode": "' + sessionCode + '",' + '"studentId": "' +
studentId + '",' + '"isPreValidateLogin": "' + isPreValidateLogin + '",' + '"analyticsData": "' + analyticsData + '",' + '}';
$.ajax({
type: "POST",
url: '/Services/Login.ashx', //
contentType: "application/x-www-form-urlencoded",
dataType: "text",
data: postData,
async: false,
success: function(data) {
//debugger;
data = $.parseJSON(data);
var preValidateLoginReVal = data[0].statusCode;
var examId = data[0].examId;
if (preValidateLoginReVal == "1") {
//preValLastName
if (data[0].batteryCode.toLowerCase() == "logramos") {
$('#lblFirstName').html('¿Eres ');
$('#btnYes').button('option', 'label', 'Sí'); //Sí No
$('#preValidateLoginDialog').dialog('option', 'title', 'Registrarse');
} else if (examId.indexOf("CPS") >= 0) {
var langCode = data[0].languageCode.toLowerCase();
switch (langCode) {
case "ara":
$('#questionMark').html(' هل أنت');
$('#lblFirstName').html('؟ ');
$('#btnYes').button('option', 'label', 'نعم'); //Sí No
$('#btnNo').button('option', 'label', 'لا'); //Sí No
$('#preValidateLoginDialog').dialog('option', 'title', 'تسجيل الدخول');
break;
case "urd": // this is because it reads left to right
$('#questionMark').html(' تم ہو');
$('#lblFirstName').html('؟ ');
$('#btnYes').button('option', 'label', 'ہاں'); //Sí No
$('#btnNo').button('option', 'label', 'نہیں'); //Sí No
$('#preValidateLoginDialog').dialog('option', 'title', 'سائن ان کریں');
break;
case "esn":
$('#lblFirstName').html('¿Eres ');
$('#btnYes').button('option', 'label', 'Sí'); //Sí No
$('#btnNo').button('option', 'label', 'No'); //Sí No
$('#preValidateLoginDialog').dialog('option', 'title', 'Registrarse');
break;
case "chs":
$('#lblFirstName').html('你是 ');
$('#btnYes').button('option', 'label', '是'); //Sí No
$('#btnNo').button('option', 'label', '否'); //Sí No
$('#preValidateLoginDialog').dialog('option', 'title', '登入');
$('#questionMark').html(' 吗?');
break;
case "plk":
$('#lblFirstName').html('Czy ty jesteś ');
$('#btnYes').button('option', 'label', 'Tak'); //Sí No
$('#btnNo').button('option', 'label', 'Nie'); //Sí No
$('#preValidateLoginDialog').dialog('option', 'title', 'Zalogować się');
break;
default:
$('#lblFirstName').text("Are you ");
$('#preValidateLoginDialog').dialog('option', 'title', 'Sign In');
}
} else {
$('#lblFirstName').text("Are you ");
$('#preValidateLoginDialog').dialog('option', 'title', 'Sign In');
}
$('#preValLastName').text(data[0].lastName);
$('#preValFirstName').text(data[0].firstName);
$('#preValidateLoginDialog').dialog('open');
$('.ui-dialog :button').blur();
} else {
enableButtons();
$('#divErrorMessage').html('Unable to login');
}
},
error: loginajaxError
});
}
$('#preValidateLoginDialog').dialog({
//
autoOpen: false,
modal: true,
width: 380,
height: 170,
position: "center",
title: "Log In",
resizable: false,
closeOnEscape: false,
draggable: false,
dialogClass: 'reValLoginTitleClass',
buttons: {
" No ": {
id: "btnNo",
text: "No",
click: function() {
$(this).dialog("close");
enableButtons();
$('#divErrorMessage').html('Incorrect Student ID. Contact your teacher/proctor.');
}
},
" Yes ": {
id: "btnYes",
text: "Yes",
click: function() {
$(this).dialog("close");
validateLogin($('#txbSessionCode1').val(), null, true);
}
}
}
});
//
function validateLogin(sessionCode, retryCount, isPrevalidation) {
//debugger;
if (retryCount == null) {
retryCount = 0;
}
//var loginParams;
//if (sessionCode == '0') {
// loginParams = loginValues.split('|');
//}
//var firstName = sessionCode == '0' ? loginParams[0] : $('#txbFirstName').val();
//var lastName = sessionCode == '0' ? loginParams[1] : $('#txbLastName').val();
//var birthMonth = sessionCode == '0' ? loginParams[2] : $('#selBirthMonth').val();
//var birthDay = sessionCode == '0' ? loginParams[3] : $('#selBirthDay').val();
//var studentId = sessionCode == '0' ? "" : $.trim($('#txbStudentId').val());
//sessionCode = sessionCode == '0' ? loginParams[4] : sessionCode;
var firstName = $('#txbFirstName').val();
var lastName = $('#txbLastName').val();
var birthMonth = $('#selBirthMonth').val();
var birthDay = $('#selBirthDay').val();
//var studentId = $.trim($('#txbStudentId').val());
var studentId = isPrevalidation ? $.trim($('#txbStudentId').val()) : "";
var postData = '{' + '"firstName": "' + firstName + '",' + '"lastName": "' + lastName + '",' + '"birthMonth": "' + birthMonth + '",' + '"birthDay": "' + birthDay + '",' + '"sessionCode": "' + sessionCode + '",' + '"studentId": "' +
studentId + '",' + '}';
$.ajax({
type: "POST",
url: '/Services/Login.ashx', //
contentType: "application/x-www-form-urlencoded",
dataType: "text",
data: postData,
success: function(data) {
data = $.parseJSON(data);
var s = processLogin(data);
if (!s) {
if (retryCount < 3) setTimeout("validateLogin('" + sessionCode + "', " + (retryCount + 1) + ", " + isPrevalidation + ")", 400);
else {
enableButtons();
if (data[0].batteryCode.toLowerCase() == "logramos") $('#divErrorMessage').html(
'El examinador no ha empezado esta sesión de la prueba. Por favor, espera a que el examinador empiece la sesión de la prueba y entonces intenta iniciar tu sesión de nuevo.');
else $('#divErrorMessage').html('The proctor has not started this test session. Please wait until the proctor starts the test session and then try to log in again.');
}
}
},
error: loginajaxError
});
}
function loginajaxError(xhr, ajaxOptions, thrownError) {
enableButtons();
if (xhr.responseText != "") {
alert(xhr.responseText);
} else {
if (ajaxOptions == "error" && thrownError == "") {
$('#loginError').dialog('option', 'title', 'Online Testing');
$('#loginError').dialog('open');
}
}
}
function disableButtons() {
$('input[type="button"]').attr('disabled', 'disabled');
}
function enableButtons() {
$('input[type="button"]').removeAttr('disabled');
}
function processLogin(data) {
//debugger;
if (data.length > 0) {
if (data[0].statusCode == "1" || data[0].statusCode == "5") {
var stuJData = '';
var remoteProctor = 0;
var rgnCode = '';
var classId = 0;
//remove logic after integrating remote proctoring with IOWA flex
if (data[0].testingEngine == "L") {
stuJData = JSON.stringify(data[0].stuJsonData);
} else {
remoteProctor = data[0].stuJsonData[0].remoteProctor;
rgnCode = data[0].stuJsonData[0].regionCode;
classId = data[0].stuJsonData[0].classId;
//if (remoteProctor == "2") {
// stuJData = JSON.stringify(data[0].stuJsonData);
//}
}
//postcogat eligibility added
var queryString = "firstName=" + encodeURIComponent(data[0].firstName) + "&lastName=" + encodeURIComponent(data[0].lastName) + "&userId=" + data[0].userId + "&locationId=" + data[0].locationId + "&locationName=" + encodeURIComponent(data[
0].locationName) + "&testsessionId=" + data[0].testsessionId + "&manageSessionId=" + data[0].manageSessionId + "&examId=" + encodeURIComponent(data[0].examId) + "&batteryCode=" + encodeURIComponent(data[0].batteryCode) +
"&testEventId=" + data[0].testEventId + "&isPostCogAtEligible=" + data[0].isPostCogAtEligible + "&localServerUrl=" + data[0].localServerUrl + "&isDrawScreen=" + data[0].isDrawScreen + "&testingEngine=" + data[0].testingEngine +
"&stuJsonData=" + stuJData +
//"&stuJsonData=" + CryptoJS.AES.encrypt(JSON.stringify(data[0].stuJsonData), 'myPassword') +
"&fromLogin=true";
if (remoteProctor == "1") {
console.log("studentQueryString: " + queryString);
//debugger;
var jsonData = {};
jsonData['regionCode'] = rgnCode;
jsonData['launchUrlQueryString'] = queryString;
jsonData['userId'] = data[0].userId;
jsonData['fullname'] = encodeURIComponent(data[0].firstName) + ' ' + encodeURIComponent(data[0].lastName);
jsonData['examTag'] = data[0].testEventId + '_' + classId;
//Move Api call to backednd along with validate Login and look for encodeURIComponent issue over the wire
$.ajax({
type: "POST",
url: '/Services/Login.ashx?action=proctorioinit',
contentType: "application/x-www-form-urlencoded",
data: ({
jsonData: JSON.stringify(jsonData)
}),
async: false,
success: function(data) {
//debugger;
var stuUl = JSON.parse(data)[0];
var procUl = JSON.parse(data)[1];
window.location.href = stuUl;
},
error: function(e) {
//debugger;
alert(e);
}
});
} else { //remoteProctor == "2"
window.location.href = '/doodle.aspx?' + queryString;
}
} else if (data[0].statusCode == "2") {
enableButtons();
$('#divErrorMessage').html('Unable to login');
} else if (data[0].statusCode == "3") {
enableButtons();
$('#divErrorMessage').html('You are already logged in. Please contact Proctor.');
} else if (data[0].statusCode == "4") {
return false;
}
} else {
enableButtons();
$('#divErrorMessage').html('Internal error');
}
return true;
}
function GetProctorioUrl(launchUrl, userId, firstName, testsessionId, getStuProctorioUrl) {
var jsonData = {};
jsonData['launchUrl'] = launchUrl;
jsonData['userId'] = userId;
jsonData['examStart'] = 'Doodle';
jsonData['examTake'] = 'starttest';
jsonData['examEnd'] = 'pause';
jsonData['examSettings'] = 'recordaudio,downloads';
jsonData['fullname'] = firstName;
jsonData['examTag'] = testsessionId;
$.ajax({
type: "POST",
url: '/Services/Login.ashx?action=proctorioinit',
contentType: "application/x-www-form-urlencoded",
data: ({
jsonData: JSON.stringify(jsonData)
}),
async: false,
success: function(data) {
debugger;
var stuUl = JSON.parse(data)[0];
var procUl = JSON.parse(data)[1];
var gspu = JSON.parse(data)[0]; //href this
getStuProctorioUrl(gspu);
},
error: function(e) {
//debugger;
alert(e);
}
});
}
function populateDay() {
var selBirthMonth = document.getElementById("selBirthMonth");
var selBirthDay = document.getElementById("selBirthDay");
var numDays = 0;
if (selBirthMonth.options[2].selected) {
numDays = 29;
} else if (selBirthMonth.options[9].selected || selBirthMonth.options[4].selected || selBirthMonth.options[6].selected || selBirthMonth.options[11].selected) {
numDays = 30;
} else if (!selBirthMonth.options[0].selected) {
numDays = 31;
}
var cnt = selBirthDay.length;
if (cnt > numDays + 1) {
for (var i = cnt - 1; i > numDays; i--) selBirthDay.options[i] = null;
}
if (cnt < numDays + 1) {
for (var i = cnt; i <= numDays; i++) {
var x = String(i);
selBirthDay.options[i] = new Option(x, x);
}
}
}
DmUiLibrary.Init({
"SessionKeepAliveUrl": "",
"SiteRoot": "",
"AlertTimeToSessionEnd": 0,
"SessionTimeOut": 0,
"LoginUrl": "",
"TerminateSessionTimeOut": false
});
$(document).on('click enterkeyup', '#selBirthMonth_dm_ui li', function() {
populateDay();
$('#selBirthDay').trigger("DmUi:updated");
});
$('#btnLogin').on('keydown', function(e) {
if (e.keyCode == 9 && !e.shiftKey) {
e.preventDefault();
$('#txbStudentId').focus();
}
});
$('#txbStudentId').on('keydown', function(e) {
if (e.keyCode == 9 && e.shiftKey) {
e.preventDefault();
$('#btnLogin').focus();
}
});
</script>
<noscript>
<link rel="stylesheet" type="text/css" href="/Styles/nojavascript.css">
<div class="divnoscript">
<div class="divnoscriptheader">
<br> Datamanager requires that Javascript is enabled <br> Please enable Javascript for your browser and refresh the page.
</div>
<!-- BROWSER INSTUCTIONS -->
<div class="innerContent">
<!-- Browser Nav -->
<nav>
<ul class="browserSelect">
<li><a href="#IE">Internet Explorer</a></li>
<li><a href="#Firefox">Firefox</a></li>
<li><a href="#Safari">Safari</a></li>
</ul>
</nav>
<div id="IE">
<!-- Instructions -->
<h2>Internet Explorer</h2>
<p>Please complete the following instructions to activate and enable JavaScript in Internet Explorer.</p>
<h3>PC</h3>
<ol>
<li>In the <strong>Tools</strong> drop-down menu, select <strong>Internet Options</strong>.</li>
<li>Next, select the <strong>Security</strong> tab.</li>
<li>Then, select the <strong>earth (Internet)</strong> icon.</li>
<li>Then select the <strong>Custom Level</strong> button.</li>
<li>Locate <strong>Scripting</strong> near the bottom of the list.</li>
<li>Under <strong>Active Scripting</strong>, select <strong>Enable</strong>, then hit <strong>OK</strong>.</li>
<li>Answer <strong>yes</strong> to the following conformation box.</li>
<li>Hit <strong>OK</strong> to close the Internet Options window.</li>
<li>Finally, <strong>Refresh</strong> your browser.</li>
</ol>
<div class="clear"></div>
</div>
<div id="Firefox">
<h2>Firefox</h2>
<p>Please complete the following instructions to activate and enable JavaScript in Firefox.</p>
<h3>PC</h3>
<ol>
<li>In the <strong>Tools</strong> drop-down menu, select <strong>Options</strong>.</li>
<li>Next, select the <strong>Content</strong> icon/tab at the top on the window.</li>
<li>Then, check the <strong>Enable JavaScript</strong> checkbox under the <strong>Web Content</strong> category.</li>
<li>Hit <strong>OK</strong> to close the Options window and save your changes.</li>
<li>Finally, <strong>Refresh</strong> your browser.</li>
</ol>
<h3>MAC</h3>
<ol>
<li>Select the <strong>Firefox</strong> menu item from the <strong>Apple/System bar</strong> at the top of the screen.</li>
<li>From the drop-down menu, select <strong>Preferences...</strong></li>
<li>Select the <strong>Content</strong> icon/tab at the top on the window.</li>
<li>Then, check the <strong>Enable JavaScript</strong> checkbox.</li>
<li><strong>Close</strong> the Options window to save your changes.</li>
<li>Finally, <strong>refresh</strong> your browser.</li>
</ol>
<div class="clear"></div>
</div>
<div id="Safari" style="height: 620px;">
<h2>Safari</h2>
<p>Please complete the following instructions to activate and enable JavaScript in Safari.</p>
<h3>PC</h3>
<ol>
<li>In the <strong>Edit</strong> drop-down menu at the top of the window, select <strong>Preferences...</strong></li>
<li>Select the <strong>Security</strong> icon/tab at the top on the window.</li>
<li>Then, check the <strong>Enable JavaScript</strong> checkbox.</li>
<li><strong>Close</strong> the window to save your changes.</li>
<li>Finally, <strong>Refresh</strong> your browser.</li>
</ol>
<h3>MAC</h3>
<ol>
<li>Select the <strong>Safari</strong> menu item from the <strong>Apple/System bar</strong> at the top of the screen.</li>
<li>From the drop-down menu, select <strong>Preferences</strong>.</li>
<li>Select the <strong>Content</strong> icon/tab at the top of the window.</li>
<li>Then, check the <strong>Enable JavaScript</strong> checkbox.</li>
<li><strong>Close</strong> the window to save your changes.</li>
<li>Finally, <strong>Refresh</strong> your browser.</li>
</ol>
<div class="clear"></div>
</div>
</div>
<!-- END innerContent -->
</div>
</noscript>
</div>
<footer class="main-footer-container" hidden="hidden">
<div class="main-footer" tabindex="0" aria-label="Footer, Expandable. Press enter to expand" role="toolbar">
<span>Powered by:</span> <div class="icon-proctorio"></div> <span>proctorio</span>
<div class="main-footer-links">
<a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://www.riversidedatamanager.com/BalancedManagement/termsOfuse" title="Terms of Use">Terms of Use</a> |
<a class="footer-link" target="_blank" href="https://www.riversidedatamanager.com/BalancedManagement/termsOfUse#PrivacyPolicy" title="Privacy Policy">Privacy Policy</a>
</div>
</div>
</footer>
</form>
Text Content
Back * = Required Fields Sign In FIRST NAME* STUDENT ID* LAST NAME* SESSION CODE* BIRTH MONTH* January February March April May June July August September October November December Birth Month * January * February * March * April * May * June * July * August * September * October * November * December OR BIRTH DAY* Birth Day SESSION CODE* If you are using a Microsoft Windows® XP computer and will be taking an audio-led assessment, you can click here to download Adobe Flash. Datamanager requires that Javascript is enabled Please enable Javascript for your browser and refresh the page. * Internet Explorer * Firefox * Safari INTERNET EXPLORER Please complete the following instructions to activate and enable JavaScript in Internet Explorer. PC 1. In the Tools drop-down menu, select Internet Options. 2. Next, select the Security tab. 3. Then, select the earth (Internet) icon. 4. Then select the Custom Level button. 5. Locate Scripting near the bottom of the list. 6. Under Active Scripting, select Enable, then hit OK. 7. Answer yes to the following conformation box. 8. Hit OK to close the Internet Options window. 9. Finally, Refresh your browser. FIREFOX Please complete the following instructions to activate and enable JavaScript in Firefox. PC 1. In the Tools drop-down menu, select Options. 2. Next, select the Content icon/tab at the top on the window. 3. Then, check the Enable JavaScript checkbox under the Web Content category. 4. Hit OK to close the Options window and save your changes. 5. Finally, Refresh your browser. MAC 1. Select the Firefox menu item from the Apple/System bar at the top of the screen. 2. From the drop-down menu, select Preferences... 3. Select the Content icon/tab at the top on the window. 4. Then, check the Enable JavaScript checkbox. 5. Close the Options window to save your changes. 6. Finally, refresh your browser. SAFARI Please complete the following instructions to activate and enable JavaScript in Safari. PC 1. In the Edit drop-down menu at the top of the window, select Preferences... 2. Select the Security icon/tab at the top on the window. 3. Then, check the Enable JavaScript checkbox. 4. Close the window to save your changes. 5. Finally, Refresh your browser. MAC 1. Select the Safari menu item from the Apple/System bar at the top of the screen. 2. From the drop-down menu, select Preferences. 3. Select the Content icon/tab at the top of the window. 4. Then, check the Enable JavaScript checkbox. 5. Close the window to save your changes. 6. Finally, Refresh your browser. Powered by: proctorio Terms of Use | Privacy Policy Log Inclose Are you ? NoYes close A communication error has occurred. Please check your network connection and try later. OK More than one student exist with the same student id in the grade. Please select a student from the list below. Click Ok to log in as the selected student or Cancel to go back to the login screen.close OkCancel