Add checkbox code to form