How to fill/change form element (checkbox, text,..)

hi
I want to view the form, but I want to preset the checkbox states from the database or the read inputs. it is possible?