Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    406
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Form not working properly

    I have a form and when a user submits the "submit" button, it opens another page. This kind of functionality is working when this html is in the C drive. But when I put it in the server (in our office server), when I click on the "submit" button I get "page cannot be displayed" page. Why?
    Here is the code:

    <form name="newcust" method="post" action="addnewcustomer.html">
    <input type="text" size="23"><br>
    <input type="submit" name="gonewcust" value="Add Customer">
    </form>

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Did you copy the addnewcustomer.html file to the server too?

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    406
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Any way I figured out the problem. When I put <form name="df" method="get"> it is working. But if I put method="post" then it is not working.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •