• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: [SOLVED] Unique Registration

[SOLVED] Unique Registration 13 years 5 months ago #12090

We have added Unique Registration field to our website to track traffic, there are about 9 unique registration codes. Only 2 or 3 are working, when the others are tried in the form I get a invalid input.

I checked validation.php, copy pasted into the form and still invalid.

Is there a limit? What is wrong? Any other way i can use unique registrations?

the code is the same from the Documentation of RSFORM PRO
     function registrationCode($param,$extra=null)
        {
         $validCodes = array('Code1','Code2','Code3','Code4','Code5','Code6','Code7','Code8','Code9');
         foreach($validCodes as $validCode)
         if(strtolower($validCode) == strtolower($param))
         return true;
         else return false;
        }
Last Edit: 13 years 5 months ago by rodrigogar.
The administrator has disabled public write access.

Re:Unique Registration 13 years 5 months ago #12091

Just updated to latest version, re-added the registrationCode to validation.php, nothing...only works with 3 out of the 9 available codes.
The administrator has disabled public write access.

Re:Unique Registration 13 years 5 months ago #12093

ok... some progress.

The only code that works is the first one, the rest do not.

Switched Code1 for Code2, and Code2 worked, but Code1 did not.

HELP :(
The administrator has disabled public write access.

Re:[SOLVED] Unique Registration 13 years 5 months ago #12094

Thread Solved, support advised to remove "else" from "else return false".
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!