Results 1 to 7 of 7
08-21-2002, 02:28 PM #1
Ok. I'm have two questions.
1. I created a form using the tutorial on this site. However, when I try and test it out by pressing "Submit", it just refreshes the page. I have it set up to e-mail the info to me but when I check my e-mail, it's not there. What am I doing wrong?
2. How do I make my own Submit button and still have it send the information to my e-mail account?
08-21-2002, 02:48 PM #2
All a form does is take the information in the form fields, and 'squirt' them at whatever is specified in the 'action' of the form.
If there is no 'action', then it will target itself. No good, as the HTML is not clever enough to deal with incoming information.
You can define the action like this -
<form method="post" action="mailto:email@example.com">If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
08-21-2002, 11:18 PM #3
08-22-2002, 03:06 AM #4
to make your own submit button
input type="button" value="test" name="test" onClick="document.formname.submit();"
formname is the name of the form
Last edited by HTML; 08-22-2002 at 08:20 AM.
08-23-2002, 09:08 PM #5
Are they any free programs you can get that do this for you in like 20 seconds? Ya know, those programs that claim to be idiot-proof and can make a form in 20 sec. It just takes a long time to make a form from scratch.
08-24-2002, 04:35 AM #6
Yeah, but it takes a couple days to understand the programs that do it!
The sooner one realizes that all the drudgery of coding has to be slogged through regardless of needful shortcuts, the sooner one will experience coding bliss, young grasshopper.
(We've all been there and, unless we stop to write those codes ourselves, have all realized that, oftentimes, coding drudgery gives us time to think creativly about even more wonderful techniques to astound the world and feed our super egos.)
08-24-2002, 03:41 PM #7