Hey umm how do you write a form that e-mails to you?
I so far have created a form and some labels and textboxes
Here is the code:
[HTML]<form name="contact" id="contact" method="put" action"#">
<label>Name: </label>
<p>
<input type="text" name="name" tabindex="1" class="ina"/>
</p>
<label>E-mail: </label>
<p>
<input type="text" name="email" tabindex="2" />
</p>
<label>Subject: </label>
<p>
<input type="text" name="subject" tabindex="3" />
</p>
<label>Messag e:
<p>
<textarea name="message"> </textarea>
</p>
</label>
<p>
<input type="submit" name="Submit" value="Submit" tabindex="5" />
</p>
</form>[/HTML]
I would like to do a couple of things, first off make E-mail and Subject required, so that when a user presses Submit and if E-mail or Subject is not filled then a window pops up asking to fill in the all required fields.
Secondly, when the user presses submit I would like a message to be sent to an e-mail address(Example : support@coolkki ds.com). The e-mail should be sent with all of the input the user provides.
Thank you any1 for their help.
I so far have created a form and some labels and textboxes
Here is the code:
[HTML]<form name="contact" id="contact" method="put" action"#">
<label>Name: </label>
<p>
<input type="text" name="name" tabindex="1" class="ina"/>
</p>
<label>E-mail: </label>
<p>
<input type="text" name="email" tabindex="2" />
</p>
<label>Subject: </label>
<p>
<input type="text" name="subject" tabindex="3" />
</p>
<label>Messag e:
<p>
<textarea name="message"> </textarea>
</p>
</label>
<p>
<input type="submit" name="Submit" value="Submit" tabindex="5" />
</p>
</form>[/HTML]
I would like to do a couple of things, first off make E-mail and Subject required, so that when a user presses Submit and if E-mail or Subject is not filled then a window pops up asking to fill in the all required fields.
Secondly, when the user presses submit I would like a message to be sent to an e-mail address(Example : support@coolkki ds.com). The e-mail should be sent with all of the input the user provides.
Thank you any1 for their help.
Comment