How to fetch data from database for form checkbox?
Have you taken as a look at the XForms and HTML Form Entry modules, mentioned by Daniel here?