Cyber Tech Help Support Forums

Cyber Tech Help Support Forums (http://www.cybertechhelp.com/forums/index.php)
-   Web Development & Graphic Design (http://www.cybertechhelp.com/forums/forumdisplay.php?f=20)
-   -   Can't Get Form to Work (http://www.cybertechhelp.com/forums/showthread.php?t=52664)

1234 October 5th, 2004 12:53 AM

Can't Get Form to Work
 
I have an Access database and had someone create a search form. I redesigned my website and now cannot get the search from to work. If anyone has a second, the form is located at www.nadras.com/driversearch.asp. I believe I must be missing a line or two of code...?

degsy October 5th, 2004 03:13 AM

You've listed the online form.

We cannot see any souce code from that.

1234 October 5th, 2004 05:35 PM

oops- Should I paste the html code here? :blush:

jscomputing October 5th, 2004 05:39 PM

Probably best resave the asp file out with a .txt extension and then upload it and post the link...

Regards,

Jacob

z1p October 5th, 2004 06:41 PM

Did a view source in firefox and took a quick look at the HTML and found that the very least it is missing the <form> tag. The </form> is there, but there is no <form> tag on the page. Also, it seems odd that the </form> is between a </tr> and </table> tag.

1234 October 5th, 2004 08:50 PM

I'm not sure if I did this right, I copied the html from the page (www.nadras.com/driversearch.asp), then pasted it in notepad and saved it as form.txt and put it in my root folder. The link is http://www.nadras.com/form.txt
Does this help at all? :(

z1p October 5th, 2004 09:41 PM

This is the same as I saw with using view source, I think 'JS' was looking for the actual code that is in the .asp file. What do you use for a web page editor? Does it do syntax checking? The html here is not valid.

1234 October 5th, 2004 09:55 PM

I am using Frontpage 2000, am not sure if it does syntax checking. Is there anything else I can do?

z1p October 5th, 2004 11:10 PM

Can you get the actual text contained in the driversearch.asp file on the webserver? You can't do it through a browser, you must access the file directly on the server. Also, have you checked the webserver logs for errors?

1234 October 5th, 2004 11:27 PM

I opened Frontpage, went live to the server, opened driverssearch.asp, selected html view, copied and pasted the entire page in notepad, which I placed in my root folder (nadras.com/form.txt). There isn't any other text that I can get from the page except what is showing on the site. Am I misunderstanding what you are requesting? :(

z1p October 6th, 2004 07:40 PM

Sorry, I was the one that did not understand what was being said. :embarrass

It appears that this file only displays the form for the query, not process the query. I finally found the <form> tag and saw that the action attribute is "", which means that when "SEARCH" is pressed the search values will be submitted to this page. What is the URL that does the processing of the search request?

1234 October 6th, 2004 11:51 PM

Thanks for hanging in there with me ;)
I'm not that familiar with this to know what URL processes the request, but the results are returned on www.nadras.com/driversearchresults.asp. Does this help, or is there something in between?

z1p October 7th, 2004 08:24 PM

Can you capture the source for this page like you did the other? I can't tell if there is another file or not? Do you know what file the does the actual query to the access DB?


All times are GMT +1. The time now is 04:52 AM.

Copyright ©2000 - 2010, Cyber Tech Help. All rights reserved. All other trademarks are the property of their respective owners.