Donate SIGN UP

Dreamweaver - enquiry form

Avatar Image
dodd_tim | 20:30 Sun 20th Feb 2005 | Technology
2 Answers

I've designed and made an enquiry form in Dreamweaver which works fine but...

...when its live I don't know where the information goes or how to get hold of it. When you click on the Submit button you get directed to a page saying:

Method Not Allowed
The requested method POST is not allowed for the URL /enquiry.htm.

Any ideas anyone?

Gravatar

Answers

1 to 2 of 2rss feed

Best Answer

No best answer has yet been selected by dodd_tim. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
The info goes to wherever you send it. In your "form" tag, what's the "action" set at? If this is "enquiry.htm" then that's where you're sending it and this latter page has to have code in it which can deal with the incoming info.

In an .asp page (I can't remember if it works in htm/html) you could have something like an input field in your form named "password" and then in the 2nd page have:
password = Request.form("password")
so that you can then use this variable and print it to screen, save it in a database, check it against a database entry etc.

Yes, a form has to be processed by a program or script on the target server. Normally on a static site (where you host pages but cannot host programs or script) it is not possible to pick up the information submitted in the form. However there are sites that pick up your form results and forward the them  to you in a email (you usually have to display adverts on your site for the privilage). If you do a google you should be able to find a site and instructions for doing this.

1 to 2 of 2rss feed

Do you know the answer?

Dreamweaver - enquiry form

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.