Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 07-24-2008, 04:43 AM   #1 (permalink)
Contributing Member
 
Join Date: 09-18-07
Location: Tennessee
Posts: 303
iTrader: 3 / 100%
NameJunky is on the right pathNameJunky is on the right path
Question Question about using a form to send info!?!?

Hello all,

I am new to coding, and I am trying to edit a script I just bought. It is a domain appraisal script, but it does not have the option to offer free appraisals, it only has the option to submit payment to PayPal or StormPay.

I have managed to change the code around enough to where it is not directing to PayPal anymore, but now when I click submit, Outlook Express pops up with my email address like a regular mailto: function.

I read at www.w3schools.com/html/html_forms.asp about creating forms, but each one I have tried from there does the same thing, or it brings up an internet connection wizard which attemots to direct me through setting up an outlook box!

You can see the page I am talking about at www.drcoms.com/appraisal . I want it to be setup so that the user enters his name, email, and domain name, and it sends me all the info. Can anyone tell me how I can go about doing this? HEre is what I have right now for the form code::

Code:
<form name="input" action="MAILTO:admin@afreewebhost.com" method="get"> Name: <input type="text" name="name"><br> Email Address: <input type="text" name="email"><br> Domain Name: <input type="text" name="domainame"><br> <input type="submit" value="Submit"> </form>
I'm sure I have it setup wrong and it's probably something very easy that I need to change, but I have tried many different ways, and it does the same thing evertime, so now I turn to you guys, the pros, for help!

Any help would ne GREATLY appreciated!
__________________
Get a FREE Domain Name!
Hosting, Design, SEO AFreeWebHost.com
NameJunky is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 07-24-2008, 07:22 AM   #2 (permalink)
v7n Mentor
 
Join Date: 09-03-07
Location: England
Posts: 528
iTrader: 0 / 0%
Latest Blog:
None

Boogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really nice
You have set the action property to fire the mail client up, that's why it's popping up.

If you want to have a normal form with a submit button you need to post the information to a server-side script that has access to an smtp service,

e.g.
Code:
<form action="http://mydomain.com/email.aspx" method="post"> Name: <input type="text" name="name"><br> Email Address: <input type="text" name="email"><br> Domain Name: <input type="text" name="domainame"><br> <input type="submit" value="Submit"> </form>
I'm sure your host will have an smtp service, so this means you just have to implement some php or asp/asp.net or even pearl if you don't have access to any of the above.

Boog's
__________________
Great new 'June' Javascript Framework

June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form question white10 Coding Forum 2 07-06-2007 11:50 AM
Form question cachemony Web Design Lobby 1 06-16-2006 09:47 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 09:37 PM.
© Copyright 2008 V7 Inc