Add form to code