• 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: restrict submissions to one

restrict submissions to one 10 years 1 month ago #30775

  • lollypop27
  • lollypop27's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Good day,

I will like to find out if its possible to restrict the submission of the form from a particular email address to only one?

I would like to avoid people registering for the same thing more than once.
The administrator has disabled public write access.

restrict submissions to one 10 years 1 month ago #30798

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Have you tried using the Unique validation rule of the texbox?

More information on this form field here:
https://www.rsjoomla.com/support/documentation/view-article/826-textbox.html

PS: you can use a second validation rule in the PHP scripts called on form process afterwards to check if it's a valid email address

You can use a secondary validation rule through PHP "Scripts Called on Form Process" to check if it's a valid email address. Example:
$tmp = RSFormProValidations::email($_POST['form']['email_field_name']);
 
if(!$tmp){
  $invalid[] = RSFormProHelper::getComponentId("email_field_name");
}
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!