![]() |
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...?
|
You've listed the online form.
We cannot see any souce code from that. |
oops- Should I paste the html code here? :blush:
|
Probably best resave the asp file out with a .txt extension and then upload it and post the link...
Regards, Jacob |
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.
|
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? :( |
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.
|
I am using Frontpage 2000, am not sure if it does syntax checking. Is there anything else I can do?
|
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?
|
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? :(
|
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? |
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? |
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.