Forums

Force Unique Username?

Kaphene 22 May, 2014
I can't believe that I can't find the solution to this by searching, but it has been a couple hours now and I can't even find anyone with the same question so it must be incredibly easy and I'm just missing something obvious so I finally made an account.

I made a form that saves to a DB, nothing special all just text box submissions, all I want to do is make sure that one of those submissions has never been used before.

I have
Team Name
Team Member 1
Team Member 2
et cetera.

All I want to do is make sure that the Team Name the user is using has never been used before. I'd assume that you have to do a DB LOAD before HTML RENDER and somehow check and make sure that it never matches, but I really have no idea how to do that. Thanks.
Max_admin 22 May, 2014
You should add the "db read" action to the top of the "on submit" event and insert an "event loop" action inside the "record found" event.

However, the current version doesn't have the extra db read features, so please send me a message using the contact us page to get a patch file!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.