Jester_PT Posted April 11, 2006 Share Posted April 11, 2006 Hi there! I am a newbie in this issue so i'm appealing to this forum.. Can you help me how to do a form?the fields aare like.. Name , Address and when you push the button send the values to an e-mail address!.. can you guys help me?? cya you all! Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 To create a form: http://www.w3schools.com/html/html_forms.aspSend mail with asp: http://www.w3schools.com/asp/asp_send_email.asp Link to comment Share on other sites More sharing options...
Jester_PT Posted April 11, 2006 Author Share Posted April 11, 2006 i have 2 files.. form.html and receiver.aspI just used the submit button to send the name<form name="input" action="receiver.asp"method="get">Username: <input type="text" name="user"><input type="submit" value="Submit"></form>and how can I receive the output of the form in the receiver.asp and put the values to send th e-mail? Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 because you use get you must use querysrting.for examplemyMail.TextBody=request.querystring("user") Link to comment Share on other sites More sharing options...
Jester_PT Posted April 11, 2006 Author Share Posted April 11, 2006 by the way.. when i push the submit button the browser askes me tou download d asp file Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 Are you tring to do this on your pc? asp files must be run on a compatable server. Link to comment Share on other sites More sharing options...
Jester_PT Posted April 11, 2006 Author Share Posted April 11, 2006 yes.. i can't do a form on my pc? the idea was like... in a site you fill the fields like name, address, age etc.. and send those values to an e-mail address! people suggested me a form.. theres another way ? more easieR? Link to comment Share on other sites More sharing options...
scott100 Posted April 11, 2006 Share Posted April 11, 2006 You can use your pc as a server if you install one: http://www.w3schools.com/asp/asp_install.aspThis can allow you to practise before you upload your files to the web.I suppose i should also show you this: http://www.w3schools.com/html/tryit.asp?fi...yhtml_form_mailbut be warned it's not very reliable.Do you have a site yet? It is easy enough to create a form then a .asp file to process it but you will have to check your host has a .asp compatable server. 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