WebDocs Hacks - Forcing Upper-Case Usernames on Login
From Support
You will only need to modify one line of code of the website files to force your users to login with upper-case characters. This file is in an IFS folder on the AS/400. The path should look something like:
/www/rjsweb/htdocs/rjsimage/imglogin.html
Replace rjsweb in the path above to the name of your HTTP server.
Copy this file to your PC. You can edit with any text editor. You just need to add this text to one line of code:
onblur="this.value=this.value.toUpperCase()"
Rename the original imglogin.html file on the IFS to something else (perhaps imglogin.html.bak). Then copy the modified version of the file back to the IFS.
OLD Code:
<tr>
<td width="70" class="right"><span class="loginTitle">Username:</span></td>
<td width="120" rowspan="2"> <input type="hidden" name="input1" value>
<input name="inwebu" size="12" style="width: 80px;">
<br>
<input type="hidden" name="input2" value> <input type="password" name="inwebp" size="12" style="width: 80px;">
<td width="1" rowspan="2"> </td>
<td width="219" rowspan="2">
<input type="submit" value="Login" class="button" name="action">
</td>
</tr>
NEW Code:
<tr>
<td width="70" class="right"><span class="loginTitle">Username:</span></td>
<td width="120" rowspan="2"> <input type="hidden" name="input1" value>
<input name="inwebu" size="12" style="width: 80px;" onblur="this.value=this.value.toUpperCase()">
<br>
<input type="hidden" name="input2" value> <input type="password" name="inwebp" size="12" style="width: 80px;">
<td width="1" rowspan="2"> </td>
<td width="219" rowspan="2">
<input type="submit" value="Login" class="button" name="action">
</td>
</tr>
