Jump to content

Formmail


beginann

Recommended Posts

I have a form which I would like to validate, but I don´t know how to tell my visitors thet they have missed a special field in the form.

This is my form

<form name="kontakt" method="post" action="formmail1.php">
  <p><span class="text_11_vit">Namn * <br>
      <input name="name" type="text" size="30" class="bakgrund">
      <br>
Ämne<br>
<input name="subject" type="text" value="Medlemsansökan"size="30" class="bakgrund">
<br>
Email * <br>
<input name="email" type="text" size="30" class="bakgrund">
<br>
Alternativ e-mail: <br />
<input name="email2" type="text" size="30" class="bakgrund">
<br />
    Telnr * <br />
    <input name="telnr" type="text" size="15" class="bakgrund">
    <br />
    Adress * <br />
    <input name="adress" type="text" size="30" class="bakgrund">
    <br />
    Postnr:<br />
    <input name="postnr" type="text" size="30" class="bakgrund">
    <br />
    Ort * <br />
    <input name="ort" type="text" size="30" class="bakgrund">
    <br />
    Land  <br />
    <select name="land" class="bakgrund" id="land" >
      <option value="Sweden" selected="selected">Sweden</option>
      <option value="Denmark">Denmark</option>
      <option value="Finland">Finland</option>
      <option value="Germany">Germany</option>
      <option value="Iceland">Iceland</option>
      <option value="Netherlands">Netherlands</option>
      <option value="Norway">Norway</option>
      <option value="UK">UK</option>
    </select>
    <br />
	<br />
  Betalat: 
  <input name="betalat" type="checkbox" />     
Önskar inbetalningskort: 
  <input name="inbetkort" type="checkbox" />
  </span><br>
  <br />
      <input name="submit" type="submit" value="Skicka meddelandet">
  </p>
</form>

 

(edited by kenrbnsn to fix the


tags)

 

Link to comment
https://forums.phpfreaks.com/topic/39198-formmail/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.