I have a question
When an user type a wrong username and/or password and joomla display a message about this error and I would like to clean both fields, how can I do that ?
thank you for you help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Go to your Joomla root folder, from there:
/templates/[your template]/html/mod_logincp default.php default.php.orgvi default.phpAnd here’s the tricky part, the thing you have to changes is different for each template, for example, in
atomictemplate you should look for the line:So the
idof this field in this case is:"modlgn_username". Now you can use jQuery / Javascript and “clean” the value.