summaryrefslogtreecommitdiffstats
path: root/system/libraries/Form_validation.php
AgeCommit message (Collapse)AuthorFilesLines
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
2012-11-26Switch CI_Form_validation:: to publicAndrey Andreev1-1/+1
Makes it easier to access the data after validation (issue #1208)
2012-11-23[ci skip] Remove a lone semicolon (rel 2d48b4f1a174473fa0539769a433ba78305c0faa)Andrey Andreev1-1/+1
2012-11-23Fix #113Andrey Andreev1-1/+2
2012-11-15Revert a change from 7a7ad782b2f125622509a77c5a6f94ad4ae0f93cAndrey Andreev1-1/+5
sscanf() is lightning fast, but doesn't have such thing as greediness and this breaks rule parameters containing a closing square bracket.
2012-11-12Some micro-optimizationsAndrey Andreev1-15/+5
2012-11-03Fix #1957Andrey Andreev1-3/+8
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-11-01Fix issue #1953 (form values being escaped twice)Andrey Andreev1-5/+5
Re-instaing an improved form_prep() function, reverting most of the changes from 74ffd17ab06327ca62ddfe28a186cae7ba6bd459.
2012-10-26Fix #1624 and clear-up the form validation docs (manually applying #1603)Andrey Andreev1-5/+5