Logeman Posted March 1, 2006 Share Posted March 1, 2006 For some reason when I try to submit something in a form I made, it wont go to the designated file, why is this happening? Link to comment Share on other sites More sharing options...
Logeman Posted March 1, 2006 Author Share Posted March 1, 2006 I know I used the correct form but the file for some reason won't receive the information being sent. Link to comment Share on other sites More sharing options...
sbrownii Posted March 1, 2006 Share Posted March 1, 2006 Please give us the a link to your page, or if that is not possible, please provide the source.It is a waste of our time to try to guess all the possible reasons it might not be working. Link to comment Share on other sites More sharing options...
Logeman Posted March 1, 2006 Author Share Posted March 1, 2006 <form name="input" action="html_form_action.asp"method="get">Username: <input type="text" name="user"><input type="submit" value="Submit"></form>This is the form I used.I named a text document html_form_action.asp and nothing appears on it after having clicked the submit button. Link to comment Share on other sites More sharing options...
sbrownii Posted March 1, 2006 Share Posted March 1, 2006 It does move to html_form_action.asp, correct? The problem is just that your asp doesn't show anything...?Sounds like the problem is with the asp page -> you might want to post in the asp forum?Since the problem is with the asp page, please show the source of the asp page you are using Link to comment Share on other sites More sharing options...
Logeman Posted March 1, 2006 Author Share Posted March 1, 2006 Im not actually sure what the problem is. I do know though that the asp file is the same name as designated in the form. All I know is that when I hit the submit button and after I open the asp file, there's nothing there. Im not sure if it's the asp file or the html but it's not working. Link to comment Share on other sites More sharing options...
sbrownii Posted March 1, 2006 Share Posted March 1, 2006 So, after you click the submit button, it takes you to the asp page, but the page is blank? Are you running a server on your local machine, or on the web?Please post the asp code. Link to comment Share on other sites More sharing options...
Logeman Posted March 3, 2006 Author Share Posted March 3, 2006 I think thats where I went wrong, I was unaware that the asp file required code to receive the information, if this is so, could you please post it? Also, im running the server on my local machine. Link to comment Share on other sites More sharing options...
Pollux Posted March 3, 2006 Share Posted March 3, 2006 Have a read of the ASP tutorial, particularly the forms page. Link to comment Share on other sites More sharing options...
Logeman Posted March 14, 2006 Author Share Posted March 14, 2006 I am very lost. I can't find the right form to use for the retrieval of sent information, and if I have, for some reason it won't work. Could somebody please post the asp form required to retrieve sent information? Link to comment Share on other sites More sharing options...
Logeman Posted March 14, 2006 Author Share Posted March 14, 2006 I am very lost. I can't find the right form to use for the retrieval of sent information, and if I have, for some reason it won't work. Could somebody please post the asp form required to retrieve sent information? Link to comment Share on other sites More sharing options...
scott100 Posted March 14, 2006 Share Posted March 14, 2006 Save both files in the same folder and must be run on a asp enabled serverThe code works i have tested it html form as before <form name="input" action="html_form_action.asp" method="get">Username: <input type="text" name="user"><input type="submit" value="Submit"></form> ASP code, save as html_form_action.asp <%@ Language = VBScript %> <% Option Explicit %> <html> <head> <title></title> </head> <body> <% response.write "<p>Thank you : " & request.querystring("user") & "</p>" %> </body></html> Because your form uses method get, you must use querystring() to get the info from the address bar. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now