Skip to main content
Participating Frequently
June 9, 2017
Answered

Contact Form

  • June 9, 2017
  • 1 reply
  • 935 views

Hi. I just created a contact form in cs5.5. I don't know how to make it work. What is the coding for a simple contact form? And where do I place the code EXACTLY?

I just need it to function!

Thanks!

Here's my current code:

<table width="378" border="1" align="left" cellpadding="3" cellspacing="3" bgcolor="#000033">

        <tr>

          <td width="362"><p>

            <label for="Name2">Name</label>

            <input type="text" name="Name2" id="Name2" />

          </p>

            <p>

              <label for="Email">Email</label>

              <input type="text" name="Email2" id="Email" />

            </p>

            <p>

              <label for="Comments">Comments</label>

            </p>

            <p>

              <textarea name="Comments2" id="Comments" cols="45" rows="5"></textarea>

            </p>

            <p>

              <input type="submit" name="Submit2" id="Submit2" value="Send" />

          </p></td>

        </tr>

      </table>

    This topic has been closed for replies.
    Correct answer Jon Fritz

    An html <form> is easy to create, you did it yourself in the original post, though you are missing the <form> tagset that needs to wrap all of your form elements...

    <form action="somescript.php">
         <table>
              ...

         </table>

    </form>

    However, by itself, an html form can't actually "do" anything. You need to have some kind of processing script on your server in order to turn form entries into "submitable" and receivable data. Most hosting companies will have a form script readily available (albeit a simple one) on your server along with simple copy/paste instructions on how to attach it to your form.

    You may want to contact your hosting company, or dig through their help guides to see what they have available and if your current server set-up allows for it.

    1 reply

    BenPleysier
    Community Expert
    Community Expert
    June 9, 2017
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    tyka65Author
    Participating Frequently
    June 9, 2017

    Way beyond me! Can't follow it. Isn't there a simple code to create a contact form? I can use jotform but I want to create my own forms. I don't like 3rd. partyies.

    thanks.

    Community Expert
    June 9, 2017

    There's no simple way without coding to send emails from a form without a 3rd party.  Given that Nancy's article is way beyond you, I would recommend a 3rd party.  There are a lot of options out there with 3rd parties.  What do you not like about your current provider or what are you looking for?  We might be able to help you with some recommendations if you let us know what your pain points are.