Task #269

Validator_Regex allow custom value instead of showing regex

Added by Alex Cartwright almost 2 years ago. Updated about 1 year ago.

Status:Closed Start date:2010-04-15
Priority:Low Due date:
Assignee:Alex Cartwright % Done:

100%

Category:-
Target version:2.6.0
PHP Version:

Description

When using Validator_Regex, if the valdiation fails the user will be presented with an error message that contains the regex. This could confuse the user as it will mean nothing to them.

baggachipz provided a file with the change to add a second argument to Validator_Regex::__construct()

History

Updated by Alex Cartwright almost 2 years ago

  • Status changed from Confirmed to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF