DeKuyper Posted August 16, 2011 Posted August 16, 2011 Hello, I need to edit the text on the actual Login screen that a user sees in the Login fields before logging in. There is a "username" in the first field and some "*****" in the second that prompt user what to type and where. But I find it very inconvenient that these hints do not disappear when I click in the field to type my login/password. This creates confusion and additional work for a user as he needs to delete these hints first and then type his details. Is there any way I can fix it? Thank you! The de Kuyper Education Centre
andypooz Posted September 5, 2011 Posted September 5, 2011 Looks like you have sorted this, as the hints disappear when users click in the fields. Are you using the default login module, because there are no hints shown on my version of the login module. If you are using another module, I dare say that there will be a setting to not show hints. If the hints aren't disappearing in your browser, then if you give me more details I'm sure we can find away to get rid of the hints. It's a bit of javascript that we need to track down and deactivate. Andy
DeKuyper Posted October 11, 2011 Author Posted October 11, 2011 Hello Andy, sorry for a long delay in the reply! I kind of solved this problem, in this way: ************ Edited the following 2 lines of code: (a) Edit the Username field: Before edit: Code: After the edit: Code: (b) Edit the Password field: Before edit: Code: After edit: Code: *************************** The user imanickam helped me with this code rewriting. I use the default login module for the moment. Maybe this may help you as well if you have a similar issue Thank you again for your attention!
Arthur Posted October 11, 2011 Posted October 11, 2011 (edited) Probably not a lot of use, but here's an alternative approach of doing the same thing... robertnyman.com/2011/05/02/html5-placeholder-and-an-alternative-approach-introducing-roberts-playground/ As you can see from the demo, the placeholder text remains visible until the user actually starts typing in the box. They don't need to delete the text before typing in the box either. Edited October 11, 2011 by Arthur
DeKuyper Posted October 11, 2011 Author Posted October 11, 2011 thank you! it is an interesting way to edit login form. I will keep it in my bookmarks for sure.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now