Forums

How to supress joomla registration error message?

guillome 03 Apr, 2015
Hello,

I am using joomla reg module in chrono. I don't check if the user exists or not, just registers them. When it exists, the joomla form says "username already taken" and continues. I don't care about the problem because then the user already exists, so it can continue. The only thing that this message can be seen for 1-2 seconds in red. Can I somehow supress this message?

thanks
G
GreyHead 07 Apr, 2015
Hi Guillome,

I can't think of an easy way to suppress it from the from code. I think that it is a Joomla! system message created by the Joomla! User code. My guess is that the best 'fix' would be to check for duplicates :-(

Bob
guillome 07 Apr, 2015
Hi GreyHead,

how do you easily check for duplicates and if found you move without registering?

thanks
GreyHead 17 Apr, 2015
Hi guillome,

I guess that you could use an Ajax call when the Username / Email fields are updated to check if they already exist in the User table. It would need a little custom javascript but should be simple to do,

Bob
This topic is locked and no more replies can be posted.