File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', function() {
6969
7070 // Function to validate EID format - moved outside to be accessible everywhere
7171 function isValidEid ( eid ) {
72- const eidPattern = / ^ [ a - z ] { 2 , 3 } [ 0 - 9 ] { 3 , 8 } $ / ;
72+ const eidPattern = / ^ [ a - z ] { 2 , 3 } [ 0 - 9 ] { 2 , 8 } $ / ;
7373 return eidPattern . test ( eid ) ;
7474 }
7575
@@ -134,7 +134,7 @@ document.addEventListener('DOMContentLoaded', function() {
134134
135135 // Validate EID format
136136 if ( ! isValidEid ( eid ) ) {
137- statusElement . textContent = 'Invalid EID format. Please enter 2-3 lowercase letters followed by 3 -8 numbers.' ;
137+ statusElement . textContent = 'Invalid EID format. Please enter 2-3 lowercase letters followed by 2 -8 numbers.' ;
138138 statusElement . className = 'status-message error' ;
139139 return ;
140140 }
You can’t perform that action at this time.
0 commit comments