This topic is locked
[SOLVED]

how to have TWO unique fields on registration?

5/23/2022 4:58:48 PM
PHPRunner General questions
W
wfcentral author

I have created a registration system where the user must enter email, password and gamertag.

The password and email will not be displayed to other site users. Only the gamertag. As such, the gamertag needs to be unique.

When a user signs up with an email that is already in the system it warns them - but, if they use a different email and a gamertag that is already in the system there is no warning. So, there can be multiple users in the system with the same gamertag.

I don't want to use the gamertag as the login (because they forget what they made up) but I need them to enter a UNIQUE gamertag when they register.

aadham 5/23/2022

Click the 'gamertag' field settings and check 'Prevent Duplicate Values' and enter the error message you wish users to see, as shown below:

img alt

W
wfcentral author 5/23/2022

thanks - I knew I had seen it somewhere.