• 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: Check email address in database $_POST Script

Check email address in database $_POST Script 10 years 3 months ago #30135

  • StormIT
  • StormIT's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
Hi,

I have a form which has two fields:

Name and Email Address.

I only want to capture new data, how can I use the $_POST script to check if the email address submitted is already in the database?

Can I do this using $_POST ?
The administrator has disabled public write access.

Check email address in database $_POST Script 10 years 3 months ago #30147

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
You can achieve this simply by using the "Unique" validation rule of the textbox. You can find out more on textboxes and the validation rules here:

https://www.rsjoomla.com/support/documentation/view-article/826-textbox.html

Let me know if it works
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!