Please Help – How to Set ‘autocapitalize’, ‘none’ for the user_login Field
-
I am using the User Registration Plugin to create a registration form on my WordPress site. However, I am encountering an issue where the user_login input field automatically capitalizes the first letter on mobile devices due to the default keyboard behavior.
To ensure that usernames are entered correctly and consistently in lowercase, I would like to set the HTML attribute autocapitalize=”none” for this field. Unfortunately, I couldn’t find a built-in option in the plugin settings or documentation to achieve this.
Here’s a summary of what I’ve tried:
- Adding JavaScript via the functions.php file to modify the user_login field dynamically.
- Searching for a filter or action hook provided by the plugin to customize the input field attributes.
Despite these efforts, I’ve been unable to apply autocapitalize=”none” effectively. Could you kindly guide me on how to achieve this, either by using a built-in plugin feature or through a developer-friendly method such as a filter or hook?
Thank you.
- You must be logged in to reply to this review.