2013-06-01, 03:56 AM
2013-06-01, 06:33 AM
isn't it already available at User Registration and Profile Options (Allow emails to be registered multiple times?)
2013-06-01, 08:46 AM
> Email shouldn't validate if it's in use by another member ...
It does not validate, it shows:
Please correct the following errors before continuing:
You have entered an email address that is already in use by another member. Please enter a different email address.
with setting:
Registration Method - Send Email Verification
Allow emails to be registered multiple times? - No
It does not validate, it shows:
Please correct the following errors before continuing:
You have entered an email address that is already in use by another member. Please enter a different email address.
with setting:
Registration Method - Send Email Verification
Allow emails to be registered multiple times? - No
2013-06-01, 03:05 PM
OK guys, perhaps my original post wasn't clear enough, but I referenced that setting clearly in my post so I don't need to be reminded of it.
When you select a username that's already in-use you are given an inline error message and asked to pick another one. But if you do the same with an email, it evidently is valid until you click the join button.
This speaks to a larger problem – ALL validation should be inline, and the submit button should only work if all fields are valid.
When you select a username that's already in-use you are given an inline error message and asked to pick another one. But if you do the same with an email, it evidently is valid until you click the join button.
This speaks to a larger problem – ALL validation should be inline, and the submit button should only work if all fields are valid.
2013-06-01, 04:57 PM
> But if you do the same with an email, it evidently is valid until you click the join button.
Checking database when focus is moved can be expensive - it can be more than 5 seconds with big sites (for username).
I guess 2 such requests would be impractical.
Checking database when focus is moved can be expensive - it can be more than 5 seconds with big sites (for username).
I guess 2 such requests would be impractical.
2013-06-01, 05:23 PM
You could check on button click and not proceed if invalid?
2013-06-01, 06:05 PM
Email should be an index in the users table anyway so a SELECT query on just that field should be fairly quick.