diff --git a/sbas/templates/sbas/exam_start.html b/sbas/templates/sbas/exam_start.html
index e845e025..dfaeee3e 100755
--- a/sbas/templates/sbas/exam_start.html
+++ b/sbas/templates/sbas/exam_start.html
@@ -14,7 +14,7 @@ Enter your CID in the below box.
$("button").click(() => {
let cid = $("#cid-box").val();
- if (Number.isInteger(cid)) {
+ if (Number.isInteger(parseInt(cid))) {
window.location.replace("{% url 'sbas:exam_take' pk=exam.pk sk=0 cid='0000000' %}".replace("0000000", cid));
} else {
alert("Please enter a valid Candidate ID (CID).")