How can i add code to a form?