Creating a form using source code