Select/Unselect All in multipleselect fieldtype

Hi!

Is it possible to get checkbox to selec or unselect all checkboxes with multipleselect filedtype?
How can I achieve this solution?

Thanks in advance,
Regards