0

I just started working with the colander schemes; with the select multiple select Widget. How can I add a button "select all" that will select all options?

Joost Döbken
  • 3,450
  • 2
  • 35
  • 79

1 Answers1

3

I don't think there's any automatic way to do that. How I would do it is override the default template for that widget to add a button that would run some JavaScript that would select all the options.

BTW, that demo is pretty old and you may want to look at http://deform2demo.repoze.org/select_with_multiple/ which uses the latest version of deform.

Tim Tisdall
  • 9,914
  • 3
  • 52
  • 82