Hi! I'm trying to make a tagging system, and for the visual tagging I've decided to go with Select2 as Jeffrey have featured it earlier on the site and I think it is very good. Everything works fine, but I don't really know how to go about populating the select input with the old values after the form has been submitted.
This is my select input:
If some other field has failed on submission, I want the tags to still be there. I hope I made myself clear, otherwise you can just ask further questions. Thanks.