Form validation script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mFreak
    replied
    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.
    Attached Files

    Leave a comment:


  • mFreak
    replied
    Originally posted by hi_jakkk View Post
    can we use this in lava script?
    you can use it anywhere. It does not require anything exept php 5

    Leave a comment:


  • hi_jakkk
    replied
    can we use this in lava script?

    Leave a comment:


  • mFreak
    replied
    Originally posted by softwarefreak View Post
    The readme file is supr cool :D
    hege, class is the thing here not the outdated readme file :P. So anybody any requests?

    Leave a comment:


  • softwarefreak
    replied
    :D

    The readme file is supr cool :D

    Leave a comment:


  • mFreak
    replied
    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:
    PHP Code:
    $FV->load_data_array($_GET); // this loads get array but you can load any array 
    . Also I made a script so you can easily check your rule definitions. Hope this helps someone. I espect more requests.
    Attached Files

    Leave a comment:


  • mFreak
    started a topic Form validation script

    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 BELOW
    Attached Files
    Last edited by mFreak; 18.08.12, 11:00.
Working...
X