Skip to content

Support replacer functions on validations #1363

Description

@iamdual

In CodeIgniter 3, this was a feature. We could add replacer functions (such as trim and strtolower) to the validations as a rule. Will you support this?

Example:
required|min_length[3]|max_length[32]|is_unique[users.username]|trim|strtolower

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix themmissing featureReported issue which is not a bug but needs to be implemented

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions