Form validation script
Collapse
X
-
NEW VERSION. You can now fetch errors for only certain field, you only pass field name to new Form_validation::return_field_errors() method. More info about new method and class itself can be found in readme.html . Usage example and script where you can test the rules and class is test.php . And again pm me if you want something added in new version or you want to report a bug.
-
Jeez, I failed with this script. but I had a request so here is the new version of the script. Now the class allows checking arrays other than $_POST by calling Form_validation::load_data_array() like this:
. Also I made a script so you can easily check your rule definitions.PHP Code:$FV->load_data_array($_GET); // this loads get array but you can load any array
Hope this helps someone. I espect more requests.
Attached Files
Leave a comment:
-
Form validation script
here is the form validation script i use for my project. I wanted to port codeigniters but I couldnt implement it to my project, so i made my own. Now I made a standalone version that dont even need any of my scripts. You have readme file in archive. If you find any bugs, pm me. Anything you need just pm me I will be glad to reply and fix it and repost the fixed script.
NEW VERSIONS BELOWAttached FilesLast edited by mFreak; 18.08.12, 11:00.Tags: None
Leave a comment: