The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validate Class
#3
The display parameter is what the form control is called in the error message.

Code:
Username already exists. Please choose another Username. // "display" => "Username"
Code:
Email already exists. Please choose another Email. // "display" => "Email"

For all the other parameters, you can look them up in users/classes/Validate.php and see the full list (we also have a post in the modifications subforum that has additional custom validations), but display is the only parameter that isn't an actual validation rule.
  Reply


Messages In This Thread
Validate Class - by marceloatmartins - 07-10-2017, 12:45 PM
Validate Class - by faguss - 07-14-2017, 10:42 PM
Validate Class - by karsen - 07-15-2017, 02:49 PM
Validate Class - by marceloatmartins - 07-17-2017, 03:28 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)