how to create a form from url