Data exists in table? Checkbox Problem

It is not quite clear what you are trying to do. But it seems like you
are reinventing a square wheel :slight_smile:
Did you try some ready solutions like http://github.com/mbleigh/acts-as-taggable-on/
?

Regards