How do I get the form to work properly.