UPDATE
code is combined now, i copy code from this link Should work good, because i saw in past worked without problems
// Add custom multi-checkbox field