View Full Version : Submission Form Question...


cookiechaos
04-25-2006, 06:55 PM
I think everyone asks this.

Firstly, I'm an idiot when it comes to this.

This is what I did:

<form method="post" enctype="text/plain" action='mailto:*my removed email*'>
<input type="hidden" name="Lala" value="Form">
<b>Your Name (stage name or alias is fine):</b><br>
<input style="
font-size: 12px;
color:#FFFFFF;
border-bottom: #FFFFFF 1px solid;
border-top: #FFFFFF 1px solid;
border-left: #FFFFFF 1px solid;
border-right: #FFFFFF 1px solid;
background:#000000 scroll repeat 0% 0%; maxLength="255" size="50" value="" name="name">
<p>
<b>Your e-mail address (<u>must</u> be valid):</b><br>
<input style="
font-size: 12px;
color:#FFFFFF;
border-bottom: #FFFFFF 1px solid;
border-top: #FFFFFF 1px solid;
border-left: #FFFFFF 1px solid;
border-right: #FFFFFF 1px solid;
background:#000000 scroll repeat 0% 0%; maxLength="255" size="50" value="" name="email">
<p>
<b>Any other comments?</b><br>
<input style="
font-size: 12px;
color:#FFFFFF;
border-bottom: #FFFFFF 1px solid;
border-top: #FFFFFF 1px solid;
border-left: #FFFFFF 1px solid;
border-right: #FFFFFF 1px solid;
background:#000000 scroll repeat 0% 0%; maxLength="255" size="50" value="" name="comments">
<br>
<br>
<input style="
font-size: 12px;
color:#FFFFFF;
background: #000000 scroll repeat 0% 0%;
border-bottom: #FFFFFF 1px solid;
border-top: #FFFFFF 1px solid;
border-left: #FFFFFF 1px solid;
border-right: #FFFFFF 1px solid;
font-family:verdana"
type="submit" value="Enter Me!" name="submit">
&nbsp;&nbsp;
<input style="font-size: 12px;
background: #000000 scroll repeat 0% 0%;
border-bottom: #FFFFFF 1px solid;
border-top: #FFFFFF 1px solid;
border-left: #FFFFFF 1px solid;
border-right: #FFFFFF 1px solid;
font-family:verdana;
color:#FFFFFF;"
type="reset" value="Reset" name="submit"> </form><br><br>


How do I make it so it sumits without the "This form is being submitted using e-mail..." popup.

How could I make it so that when you finish filling out the form it and submit it you get directed to another webpage (One that would say, "Thanks for Submitting the Form ect..."?

And, finally, how do I make it so that it doesn't send the form unless all the fields are filled out?

Douglas
04-25-2006, 10:55 PM
Just add this to the submit button:

onclick="javascript:window.open('URL','','width=500,height= 500');"

You can use javascript or some programming language (the one you are using to process the form) to check the fields and see if they are empty. For the second question you have to use a programming language. :D

pb&j
04-26-2006, 01:23 AM
first thing to do is use a PHP script instead of the MAILTO in your ACTION value. that is what is causing the popup. plus it causes problems when someone does not have an email program installed on their computer too.

if your host does not have php abilities, you can sign up for bravenet service to process the form info, send the info to your inbox, and re-direct to a thankyou page.

http://www.bravenet.com