|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have designed plenty of forms before but this is the first time I have tried to get one to work on a website. I知 not sure how to design the asp page to handle any feedback I get from my clients.
I have uploaded this a simple test form designed using this page. http://www.4guysfromrolla.com/webtech/120199-1.shtml I was then thinking of altering this form using my own fields. I used it exactly as it痴 coded but it doesn't seem to work. Here is my attempt at it uploaded temporarily to my own site; http://www.skystringdesign.com/4guysform.html I don't think it should be reading <%=Session( in the boxes. Here is my other attempt at how I see the full version of the form looking. http://www.skystringdesign.com/enquiries.html If you could tell me where I知 going wrong. Any help is much appreciated. J |
|
|||
|
jasonweb,
Does your host support .asp ? If you notice you have asp code, but the extension is .html. If you view source on your page you will notice that you can read all the asp code which shouldn't happen. Try changing the filename from 4guysform.html to 4guysform.asp and if your host supports asp you should be in good shape. |
|
|||
|
Quote:
I've long used MasterFeedback as an interactive tool on my site. It does a great job of protecting your data (email) and is totally customizable. When I first started using it, I was totally "green" . so I can attest to the "newbie friendliness" of the script. It's a .cgi script ... but you could use it on any page extension you like. It's a free download. You can check it out here: http://willmaster.com/master/feedback/ Hope that helps. Take care. |
|
|||
|
According to the response headers, your server does support asp, so the form should work.
I don't know anything about asp, but I can see two major things right away. First, as pablowerk has already posted, the page should have a .asp extension, since it contains the asp code. Secondly, I didn't see a closing tag for <form>. |
|
|||
|
I am hosting with 7 host and they do support asp but oddly the asp files have to go in the cgi-bin folder at least thats what they told me.
I have changed the extensions as was advised and the script that was appearing in the boxes has now gone, so thanks for that. Now when I submit the form it leads me to the test.asp page and it says; "There is a problem with the page you are trying to reach and it cannot be displayed." I read through the test.asp script and wondered if I needed to create the thanks.asp page or if this would automatically be created? If you great people here can help me work through these problems I'm sure we can get to the next round of problems. I have left the pages is the same places the extension has just changed. http://www.skystringdesign.com/4guysform.asp |
|
|||
|
Quote:
If you do need to create the thanks.asp page, watch your addressing. The script is in your cgi-bin and you'll probably want your thanks page in the directory where your form resides. It might also be that you need a hidden input in your form that specifies the thanks page. |
|
|||
|
|
|
|||
|
Yes, you'll need to create the thanks.asp page. But wait, there's more.
First, let me reiterate that I do not know asp, nor am I familiar with Windows servers. Given that, this is what I think. I think that whoever told you that the asp script has to be in a cgi-bin directory was incorrect. Because: 1. It's not supposed to be that way. 2. The file, form.asp, doesn't seem to be in the cgi-bin directory, yet it is an asp file containing asp code and is (sort of) working. At least, you're not showing your asp, (and thanks for that). Moving the test.asp script into the cgi-bin directory has created some addressing and redirecting problems. If I'm right about not needing to be in the cgi-bin directory, then it's going to be a lot easier. Try this: Move test.asp back into your main directory and change the form action accordingly. Create a thanks.asp page in the same directory. When you test it, try submitting the form with blank fields to ensure that you get the appropriate error messages from the script. Let us know how it goes. |
|
||||
|
If you are concerned in buidling accessible forms, download this FREE tool: http://www.hisoftware.com/access/valueadd9.html
__________________
"Being an expert isn't telling other people what you know. It's understanding what questions to ask, and flexibly applying your knowledge to the specific situation at hand. Being an expert means providing sensible, highly contextual direction." Jeff Atwood SEO Workers - Search Engine Optimization Consulting Company | SEO Analysis Tool | Webnauts Net SEO |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |