Skip navigation
Currently Being Moderated

Contact Form not working

May 6, 2012 6:25 PM

I am having trouble building a contact form. Below is a link to how it appears online as well as an image of how it appears in a publish preview on dreamweaver. I also listed the html code as it appears on the page in dreamweaver. If anyone can give me guidance on this issue and how I can correct it I'd greatly appreciate it.

Thanks,

Michael

 

html coding

 

              <form action="mailto:onlinesubscription@newyorkcompanion.com" method="get" enctype="text/plain" name="Email Subscription">

                <table width="475" border="0" cellpadding="3">

                  <tr align="right">

                    <td width="188">Full Name:</td>

                     <td><label>

                      <input type="text" name="name" id="name" maxlenght="50" size="50"/>

                    </label></td>

                  </tr>

                  <tr align="right">

                    <td>Zip Code:</td>

                    <td><label>

                      <input type="text" name="zipCode" id="zipCode" maxlenght="50" size="50" />

                    </label></td>

                  </tr>

                  <tr align="right">

                    <td>Pet Owner? (Y/N):</td>

                    <td><label>

                      <input type="text" name="petowner" id="petowner" maxlenght="50" size="50" />

                    </label></td>

                  </tr>

                  <tr align="right">

                    <td>Pet Type:</td>

                    <td><label>

                      <input type="text" name="pettype" id="pettype" maxlenght="50" size="50" />

                    </label></td>

                  </tr>

                  <tr align="right">

                    <td>Email:</td>

                    <td><label>

                      <input type="text" name="email" id="email" maxlenght="50" size="50" />

                    </label></td>

                  </tr>

                  <tr align="right">

                    <td>Comments:</td>

                    <td><label>

                      <textarea name="comments" cols="38" rows="5"></textarea>

                    </label></td>

                  </tr>

                    <tr align="left">

                    <td></td>

                    <td><input name="Submit" type="button" value="Submit" />

                      <input type="hidden" name="parse_var" id="parse_var" value="contactform"/>

                      <label>

                      <input type="submit" name="Reset" id="Reset" value="Reset" />

                      </label></td>

                  </tr>

                </table>

                </form>

 

Weppage View

http://www.newyorkcompanion.com/sbpgs/about.php

 

Dreamweaver Preview View

 

Contact Form.png

 
Replies
  • Currently Being Moderated
    May 6, 2012 7:03 PM   in reply to michaeldevin

    There is something seriously wrong with your page.  All I see is this:

     

    Parse error:  syntax error, unexpected '[', expecting ']' in /home/content/33/8989133/html/newyorkcompanion.com/sbpgs/about.php on line 2

     

    Are you using some CMs package to build your site?  If so then they should have good form builder plugin to make your life easier.

     

    Hope this helps you to do your own research further.

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2012 5:30 AM   in reply to michaeldevin

    Hi Mike -

     

    You've come a a long way baby... the site's looking great.

     

    Contact form validation seems OK on Firefox when I clicked Subscribe on an empty form.

    Is there a problem with the mailing process?

    mike.jpg

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points