Im currently making a mini questionaire for a project of mine.
I have done this before I just havent done it in over a year, and I was wondering whether you could either point me to an article, or give me some ideas on how to do this.
What im trying to do is make a form with a few textboxes, have a submit button and when the submit button is pressed I would like the information emailed to an email address.
It should be simple enough but I havent done it for awhile.
And im still only in high school.
So any help out there?
isBody = "";
recipient = "me@someDomain.com";
isSubject = "Form Data";
isBody = "Name: " + isForm.personal.value +" --- ";
isBody += "Address: " + isForm.address.value +" --- ";
isBody += "City: " + isForm.city.value +" --- ";
isBody += "State: " + isForm.state.value +" --- ";
isBody += "Zip: " + isForm.zip.value;
document.forms.Send.action = "mailto:"+recipient+"?subject="+isSubject+"&body="+isBody+" "
Name <input name='personal' size=25><br>
Address <input name='address' size=30><br>
City <input name='city' size=15> State <input name='state' size=2><br>
Zip Code <input name='zip' size=4><br>
<form name='Send' action=''>
<input type="submit" value="Send by Email" onclick="sendMail(document.Form1)">
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)