Information Storage and MAILTO action |
Information Storage and MAILTO action |
eavn |
Mar 10 2008, 07:49 PM
Post
#1
|
Group: Members Posts: 1 Joined: 10-March 08 Member No.: 5,157 |
Everything shows up fine on the screen and data input into the form will "submit" and clear after pushing the "submit" button. However, I want that information to be sent to the web site and stored. This will give an accessible record of donors who have pledged donations. I don't know the coding to make that happen.
The other problem involves the "MAILTO" action. I have read that using this coding makes the email vulnerable to spamers catching email addresses and starting junk email to them. I have also read that there is a way to avoid that problem by coding the email action and I can't find that coding. If it is javascript can that coding be incorporated into html? Should I be using style sheets instead of the html approach I have? Thanks for any help or resources you can suggest. CODE <html> <head> <title>Pledges and Donations</title> </head> <body background="paper1.gif"> <p>A donation is money (check or credit card) you send directly to the Humboldt Area Foundation's "Trinidad Library Building Fund." A pledge is a commitment to pay a certain amount either all at once by a certain date or in installments. Pledges and donations both count for community support in grant applications. <p/> <p>A pledge makes it possible for many donors to give more support to the library than an immediate donation. For example, if a family sends $100 per month for ten months they provide $1000(!) for library construction, an amount they may not be able to provide in one payment. <p/> <p>We need library supporters to "stretch" their giving so the library can be built and open early next year. If just 150 area residents pledge $1000, that will bring us to our goal! <p/> <p><b><i>Donations of any amount will be welcome</i></b>, as much as an individual or family can afford. But if you can afford $1000 over the next 10-12 months, consider pledging that amount. <p/> <p>If you wish to donate now, <a href="howtodonate.html" TARGET=MAIN>click here</a> to be taken to a donation page. However, If you want to help build our library with a pledge, use the form below. Remember, whatever your donation, THANKS for joining your friends and neighbors in helping make our new branch library a reality. </p> <form> My choice is to pledge a total amount of: <input type="number" name="amount"> <br/> My preference is to pledge that amount in: <br/> <input type="radio" name="type" value="single">a single amount before Jan. 2009 <br/> <input type="radio" name="type" value="monthly">in monthly installments, beginning in <form action=""> <select name="months"> <option value="April">April</option> <option value="May">May</option> <option value="June">June</option> <option value="July">July</option> <option value="August">August</option> <option value="September">September</option> <option value="October">October</option> <option value="November">November</option> <option value="December">December</option> </select> <p>Contact information:</p> Your first name: <input type="text" name="First Name:" <br/> Your last name: <input type="text" name="Last Name:"> </br> Your mailing address: <input type="text" name="Mailing address:"> <br/> Your city and zip: <input type="text" name="City/Zip:" <br/> <input type="submit" value="Submit"> </form> <p>If you have questions or comments about the new library or donations, please use the email form below. Thanks!</p> <form action="MAILTO:"evizzlle@hotmail.com" method="post" enctype="text/plain"> Your name: </br> <input type="text" name="name" size="20"> </br> Email address: </br> <input type="text" name="mail" size="20"> </br> Comment/Question: </br> <input type="text" name="comment" size="60"> </textarea><br /> </br> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> </body> </html> |
Darin McGrew |
Mar 10 2008, 08:10 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry How do I use forms?
|
Lo-Fi Version | Time is now: 20th April 2024 - 04:33 AM |