latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Deny duplicate input into registration form?

Home Forums Community Forum Deny duplicate input into registration form?

This topic contains 3 replies, has 2 voices. Last updated by  Eduan 3 years, 7 months ago.

Topic Author Topic
Posted: Saturday May 18th, 2013 at 9:27 am #50164

I have my registration form set up and I have a custom field that my agents will need to enter a number unique to them. How do I ensure that duplicates will not be registered? I know in MySQL/PHP I can set that field as unique but I don’t know how to do it in s2member. I want it to kick back as a duplicate if someone tried registering with the same number twice.
Right now I have it set up as two member ships and when they register I just check and “upgrade” the membership to get into agent only content.
Can this be done or so I just keep it the way I have it now?

Rachel

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Wednesday May 22nd, 2013 at 1:03 pm #50382
Eduan
Username: Eduan
Moderator

Hello Rachel,

Basically, you don’t want to allow two users to enter the same thing into a custom field that you add with s2Member?

– Eduan

Posted: Wednesday May 22nd, 2013 at 2:22 pm #50386

Exactly! I can’t figure out how to do it. Each person I will have register has a unique number that they will need to input. If someone registers with that number the first time it goes through. However if someone tries to register with that number again I want the system to kick it back. If possible.

Posted: Thursday May 23rd, 2013 at 10:22 pm #50527
Eduan
Username: Eduan
Moderator

I see. Well currently this is not integrated in s2Member.

You could make it so that it checks with PHP in the database for this stuff when a new user registers. I mean you can check fields to make sure it’s a valid email, I don’t see why you couldn’t accomplish this.

However, it requires a very good understanding of s2Member/WordPress to be able to achieve this. So you might wanna hire a freelancer to do this for you instead.

– Eduan

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.