Tagged: ,

Viewing 2 reply threads
  • Author
    Posts
    • #197
      pers
      Member

      First I’d like to say that I really luv piklist 🙂

      .. but, I can’t find any documentation on how to create a select with multiple=”multiple”.

      Is it possible ?

    • #198
      pers
      Member

      ok, found a partly answer .. just add the attribute:

      piklist('field', array(
      'type' => 'select'
      ,'field' => 'select'
      ,'label' => 'Select'
      ,'value' => 'third'
      ,'attributes' => array(
      'multiple' => 'multiple'
      )
      ,'choices' => array(
      'first' => 'First Choice'
      ,'second' => 'Second Choice'
      ,'third' => 'Third Choice'
      )
      ));

      partly, since piklist doesn’t save multiple selects and select.php in /piklist/parts/fields/ doesn’t handle multiple defaults (eg value => array())

      Anyway, this is easily fixed and as I said above .. I <3 piklist 🙂

    • #205
      Steve
      Keymaster

      @pers– Nice! We think we can get this done by next week. We’ll get back to you on this.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.