Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Form, unique with additional check

I have a form for making projects and the name should be unique, but it should only match unique names with other active projects (so theres no two active projects with the same name). But it does not matter if the name is equal to inactive projects names. It's a weird request but I'm looking how to implement this.

Does anyone know a good way of implementing this via form objects or model?

Currently the validation for the field in the model looks like this.

public function validation()
        $validator = new Validation();

            new Uniqueness(
                    "message" => "The name must be unique",

        return $this->validate($validator);


With incubator > validator > uniqueness you can use a exclude param, but is very simple

You can use it like example to your request

Good luck

Thanks for your amazing blog. It was very helpful. I’m so happy I discovered this. <a href="">ableton live 9 crack</a>