• 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: Conditional Field Based on value in Table of DB

Conditional Field Based on value in Table of DB 10 years 6 months ago #29144

  • msnoeck
  • msnoeck's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 25
I want to create an form what checked if an value of an specific field exist in DB table-Column.
If value not exists then you get error message.
If value exists, registration will complete succefully and they get the thank you message.

Concreet:
Registration Form to register user as Joomla User.
There is also an field called "Sponsor ID"
The field "Sponsor ID" have to check if the value exists in Table <joomla>_acymailing_subscriber field spid.
If not exists then error message will come up.

I hope I make myself clear.

Best regards Marcel
The administrator has disabled public write access.

Conditional Field Based on value in Table of DB 10 years 6 months ago #29241

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Have you tried following the example from this topic? although not a solution, but an example that provides more than enough information to create your project

http://www.rsjoomla.com/forum/37-rsform-pro/24538-custom-validation-rules.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
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!