summaryrefslogtreecommitdiffstats
path: root/system/libraries/Form_validation.php
AgeCommit message (Collapse)AuthorFilesLines
2015-01-28[ci skip] Correct a docblock following PR #3521Andrey Andreev1-1/+1
2015-01-28change in to in_listLance Vincent1-1/+1
2015-01-28Form Validation - In MethodLance Vincent1-0/+14
2015-01-28Form Validation - In MethodLance Vincent1-0/+16
Returns true if a given value matches any of the specified list
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-12Updated to use the language fileAhmad Anbar1-1/+1
2015-01-11Show the name of the field that doesn't have error message set.Ahmad Anbar1-1/+1
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2015-01-05Remove CI_Form_validation::xss_clean()Andrey Andreev1-13/+0
More details in the commit diff itself, and here: https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/683#issuecomment-66598821
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-09-08Add 'named callable' rules to Form validation libraryAndrey Andreev1-4/+16
Requested in issue #3183 Supersedes PR #3220
2014-06-07Fix #3085Andrey Andreev1-17/+19
2014-06-01Fix wrong variable nameAndrey Andreev1-2/+2
2014-05-31Add support for non-ASCII domain names in FV & Email classes' valid_email()Andrey Andreev1-0/+5
Depends on the Intl extension
2014-05-20[ci skip] Fix error notices in FV when trying to lookup error msgs for closuresAndrey Andreev1-14/+18
2014-04-09Minor changes in FV, TrackbackAndrey Andreev1-25/+8
2014-03-10Fix #2928, #2929Andrey Andreev1-1/+2
2014-03-10Add support for callable form validation rulesAndrey Andreev1-34/+67
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-08Method chaining support for FV set_data(), reset_validation()Andrey Andreev1-2/+5
2014-01-09Fixed the comment and array alignment.Ahmedul Haque Abid1-2/+2
2014-01-09Added space after 'if' conditionAhmedul Haque Abid1-1/+1
2014-01-09Changed the rest of 'error_msg' to 'errors'Ahmedul Haque Abid1-6/+6
2014-01-09Added the missing "is" in the commentAhmedul Haque Abid1-1/+1
2014-01-09Updated comment messages.Ahmedul Haque Abid1-2/+2
2014-01-09Removed extra space between closing parenthesis.Ahmedul Haque Abid1-1/+1
2014-01-09Fixed a missed variable $errors in set_rules().Ahmedul Haque Abid1-1/+1
2014-01-09Changed $error_msg to $errorsAhmedul Haque Abid1-4/+4
2014-01-08Added custom error messages functionality for individual fields.Ahmedul Haque Abid1-4/+20
2014-01-07Fix #2143Andrey Andreev1-9/+6
When trying to load rules from a configuration file, the Form validation library matched against ruri_string() as opposed to 'controller/method' like described in the manual. Since ruri_string() also makes sense, now both are being checked with ruri_string() having a higher precedence. Supersedes PR #2224
2014-01-06[ci skip] Fix a docblock typoAndrey Andreev1-1/+1
2014-01-06Make CI_Form_validation::error()'s first parameter mandatory and add a ↵Andrey Andreev1-6/+6
typehint for CI_Form_validation::error()
2013-10-23Fix issue #2695Andrey Andreev1-4/+18
2013-07-21change empty function to Identical comparison operatorHashem Qolami1-2/+2
Signed-off-by: Hashem Qolami <hashem@qolami.com>
2013-07-21Fix Form Validation issue with text inputs which have array as nameHashem Qolami1-2/+2
Signed-off-by: Hashem Qolami <hashem@qolami.com>
2013-06-28Fix #2498Andrey Andreev1-1/+1
2013-03-21Added array notation for keys in Input librarynisheeth-barthwal1-0/+15
2013-02-15Various cosmetic fixesvlakoff1-1/+1
2013-02-08Fix issue #2230Andrey Andreev1-3/+3
2013-02-04Cleaned up for pull request.Sajan Parikh1-3/+1
Signed-off-by: Sajan Parikh <sajan@noppix.com>
2013-02-02Added Form Validation rule for alphanum + spaces.Sajan Parikh1-0/+15
Signed-off-by: Sajan Parikh <sajan@noppix.com>
2013-01-14Replace is_null() with === / !== NULLvlakoff1-3/+3
Exact same behavior, but faster. I also think it's more readable.
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-17update for Issue #2064 (changed docblocks which return $this or only call a ↵Andrew Podner1-4/+4
method that returns $this to @return CI_DB_class_name)
2012-12-14Fix issue #539Andrey Andreev1-4/+10
Form validation language line keys were not prefixed. They are now prefixed with 'form_validation_' in order to avoid collisions. The old keys will still work if a prefixed match is not found, but are DEPRECATED and will be removed in the next major version. Also added upgrade notes and changelog entries for the new error message format from PR #961.
2012-12-12Format tweaksEric Roberts1-2/+2
Signed-off-by: Eric Roberts <eric@cryode.com>
2012-12-12Merge branch 'refs/heads/develop' into feature/form_error_msgsEric Roberts1-90/+239
Conflicts: system/language/english/form_validation_lang.php user_guide_src/source/libraries/form_validation.rst Signed-off-by: Eric Roberts <eric@cryode.com>
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-1/+1
2012-11-26Add 'valid_url' rule to Form Validation (issue #1966)Andrey Andreev1-0/+42