This topic is locked

Registration

11/12/2011 6:59:34 AM
PHPRunner General questions
V
vettold author

Using phprunner ver 6
Great program and am ready to deploy. I have one problem that I cannot solve and have searched all relevant posts.
I have approx 1000 customers who I service and they have accounts with me. I designed this site so that they can view most of their account info.
What I need:
A registration page similar to a bank with the following fields:(the table is called "users".
Customer Number (they are unique)

Last Name

Email

Phone Number

Username

Password
If this were a banks registration page they would have a field for ex: checking account number and also social security number and they have to match the records they have on file, or you will get an error (your info does not match our records)and the registration will fail.
What I need is the Customer Number and Last Name fields to match the info I already have on file, and the rest of the fields will populate the users table.
Is there a way to not generate an error (customer number already used or Last Name already used) but make them match their account info to successfully register.

In other words my "users" table will already have their customer number and Last Name fields populated.
Thanks in advance.

Sergey Kornilov admin 11/12/2011

You can definitely make this work using BeforeRegister event. In this event you can check if entered info matches what you have on file and update it properly or reject registration by issuing return false;.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.