HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Limiting registrations
You need to write a plugin for that, but it would be quite simple. You can validate the form fields and give custom error messages. The code below should get you started: public function userModel_beforeSaveValidation_handler($sender, $args) { // Access the DateOfBirth like that: // $args['FormPostValues']['DateOfBirth'];… -
Limiting registrations
Hi, I would like to limit user registration on my website by registering to those who are under the age of 13. I have activated the personanalysed fields and inserted a field of choice for the date of birth on my registration form, but I do not know how to prevent the registration to those who are not 13 years old. Can…
2 results