Validation on MultiSelect

2 posts, 1 answers
  1. Oscar
    Oscar avatar
    6 posts
    Member since:
    Mar 2013

    Posted 17 Jul 2013 Link to this post

    How can I use validation on a MultiSelect when using PHP wrappers to render the control? I know with HTML you can use the attribute "required" on the "select" tag but how is this done using PHP wrappers?
  2. Answer
    Oscar
    Oscar avatar
    6 posts
    Member since:
    Mar 2013

    Posted 17 Jul 2013 Link to this post

    Never mind. Found the attr function for the Widget few seconds after posting this question.

    If someone else is looking for the same:
    $multiSelect = new \Kendo\UI\MultiSelect("multiSelect");
    $multiSelect->attr('required', true)

  3. UI for ASP.NET AJAX banner
Back to Top