WordPress.org

Ready to get started?Download WordPress

Ideas

An object oriented style data/form validation

  1. heera
    Member

    Sometimes developers need to use custom tables where CRUD operations take place and it would be a grate improvement if we can use an easy validation like many frameworks provide with built in rules. For example,

    $validation->set_rules(
        'fieldName' => 'requireed|alphaNum'
    );
    if($validation->success()){
        // save data
    }
    else
    {
        // redirect back with errors
    }

    It will be helpful for custom fields validation too.

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    3 Votes
  • Status

    This idea is under consideration