1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML need contact us form??

Discussion in 'Web Development' started by cooljazz, Feb 17, 2010.

  1. cooljazz

    cooljazz New Member

    Hi Guys,

    I have need safe contact us form. can any body please help me with it. i have done some work but not sure whether its right or not.

    <h1 class="block">6 - Contact form</h1>
    <div class="column1-unit">
    <div class="contactform">
    <form method="post" action="index.html">
    <fieldset><legend>&nbsp;CONTACT DETAILS&nbsp;</legend>
    <p><label for="contact_firstname" class="left">Name:</label>
    <input type="text" name="contact_firstname" id="contact_firstname" class="field" value="" tabindex="1" /></p>

    <p><label for="contact_country" class="left">Country:</label>
    <input type="text" name="contact_country" id="contact_country" class="field" value="" tabindex="1" /></p>

    <p><label for="contact_email" class="left">Email:</label>
    <input type="text" name="contact_email" id="contact_email" class="field" value="" tabindex="2" /></p>
    </fieldset>
    <fieldset><legend>&nbsp;MESSAGE DETAILS&nbsp;</legend>
    <p><label for="contact_subject" class="left">Subject:</label>
    <input type="text" name="contact_subject" id="contact_subject" class="field" value="" tabindex="4" /></p>
    <p><label for="contact_message" class="left">Message:</label>
    <textarea name="contact_message" id="contact_message" cols="45" rows="10"tabindex="5"></textarea></p>
    <p><input type="submit" name="submit" id="submit" class="button" value="Send message" tabindex="6" /></p>
    </fieldset>
    </form>
    </div>
    </div>
    </div>
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    still hard at it cooljazz
    I only see 1 problem and that is where you are sending the information from the form,
    HTML:
    <form method="post" action="index.html">
    The form will be submit data to index .html.
    Is there some reason for this?
     
  3. cooljazz

    cooljazz New Member

    i dont have email address to forward.

    everything else is right or not ??

    last question how can i make it spam free??
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    No sense in answering your last question because if you try to send the data to the index.html file, the form won't work. No spammers - no problem.
     
  5. chimpy

    chimpy Banned

    Simple, go to JotForm - Easiest Form Builder sign up,create the form, it gives captura, date, send to email, reset form etc all different ways for your form including colors, thankyou submission.

    Once you set the form up it will give you a script for it, the script has no copyright info on it such as(powered by xxxx,).

    Its a easy way to do it.
     
  6. cooljazz

    cooljazz New Member

    thanks thats help
     
  7. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    great choice chimpy suggesting JotForm they are a great service and easy to use.
     
  8. ArtOfWar

    ArtOfWar New Member