Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
creating a basic form in ASP
Old 03-14-2005, 06:20 PM creating a basic form in ASP
Skilled Talker

Posts: 66
Trades: 0
I want to create a simple form in ASP and I'm having problems getting this to work.

What I'm trying to do is have a text field where the user can enter their email address, hit submit, then I get an email with the user's info.

This sounds very basic, yet I can't get this to work. I'm not all that familiar with ASP. I've gotten as far as knowing I have to setup my IIS server to make this work, and got an ASP form created. Can anyone help me in getting this to work?

Thanks!
kriket is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-14-2005, 08:11 PM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Can you post some code, what you have so far?
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-15-2005, 03:09 PM
Skilled Talker

Posts: 66
Trades: 0
The code I'm using is at this link:
http://www.dynamic.ie/sourcecode/formtomail.asp

I've created 2 seperate files:
- formmail.asp
- testform.htm
And modified the fields as instructed.

I have an index.html with an image linked to testform.htm
I also have a thankyou.html for the redirectpage after you click on submit in the form.

Now, when the window of the testform.htm pops up, the form is there.

I enter an email address in the text field and hit submit. When I hit submit it redirects me to this page:

"http://mydomain.com/formmail.asp?email=me@myemail.com&Submit=Submit&re cipient=me@myemail.com&subject=Newsletter+Sign+Up& redirect=thankyou.html&required=email"

and gives me the following error:

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

Open the mydomain.com home page, and then look for links to the information you want.
Click the Back button to try another link.
HTTP 404 - File not found
Internet Information Services
--------------------------------------------------------------------------------

Just to let you know, I changed the domain name and my email address in the example above, but the rest is the exact error.

Now I have a home server I'm trying to make this work with. I'm running IIS and I followed instructions on this page - http://www.asp101.com/wrox/asp2samp/2459ch01.asp to make ASP work with IIS.

Can anyone shed some light? What am I doing wrong?

Any help would be appreciated.

Thanks!
kriket is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to creating a basic form in ASP
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11227 seconds with 12 queries