Hi all,
I have a problem where mobile phones automatically capitalize usernames in the signup forms, causing signups to fail because usernames must be lowercase only. While I made a backend plugin that automatically downcases usernames on signup (https://github.com/spaceraccoon/moodle-auth_lowerusername), I would like a cleaner solution on the front end.
I want to add an
autocapitalize="none"
tag to my username form field. In short, I want to turn<input maxlength="100" size="12" name="username" type="text" id="id_username">
to
<input maxlength="100" size="12" autocapitalize="none" name="username" type="text" id="id_username">
The question being, how do I modify my theme (particularly the renderer) to add the autocapitalize tag to the login form field?