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.

Validate Multiple Select


I have a multiple select element in a form, but when i try isValid() method of form, it always return false, because of [ ] added at the end of element name!

Any solution ?


Is it Bug ? how can I ask Phalcon developer team?


It's BUG! :'(


you can try by making validation in your model, at least this is how i do it and its doable.

edited Aug '16

Finally, I found a temporary solution!

Overwrite isValid () method of Phalcon Form! Check element type, if it is Select & Multiple is true, then validate it!