I'm new to the web design game and have little knowledge of any coding, i'm more of a design man. I'm having trouble getting my form to email working in dreamweaver. i host with heart internet and they have installed a CGI script onto my server but i can't get it to work.
is my code correct?

</form></td>
  </tr>
  <tr>
    <td><div align="right">
      <input type="hidden" name="recipient" value="info@effortlesscash.co.uk" />
      <input type="hidden" name="subject" value="Quote Form" />
      <input type="hidden" name="redirect" value="http://www.effortlesscash.co.uk/thankyou.html" />
      name:<br/>
    </div></td>
    <td><input type="text" size="30" name="realname" /></td>
  </tr>
  <tr>
    <td><div align="right">email:      </div></td>
    <td><input type="text" size="30" name="email" /></td>
  </tr>
  <tr>
    <td><div align="right">phone:      </div></td>
    <td><input type="text" size="30" name="phone" /></td>
  </tr>
  <tr>
    <td><div align="right">category:
      <br/>
    </div></td>
    <td><select name="category" id="category">
      <option value="home electronics">home electronics</option>
      <option value="video games &amp; consoles">video games &amp; consoles</option>
      <option value="mobile phones">mobile phones</option>
      <option value="cameras">cameras</option>
      <option value="gadgets">gadgets</option>
      <option value="studio &amp; dj equipment">studio &amp; dj equipment</option>
      <option value="musical instruments">musical instruments</option>
      <option value="car electronics">car electronics</option>
      <option value="gps">gps</option>
      <option value="watches">watches</option>
      <option value="sports equipment">sports equipment</option>
      <option value="cb ham &amp; shortwave">cb ham &amp; shortwave</option>
      <option value="radio">radio</option>
      <option value="antiques &amp; collectables">antiques &amp; collectables</option>
      <option value="CDs &amp; DVDs">CDs &amp; DVDs</option>
      <option value="HD &amp; bluray">HD &amp; bluray</option>
      <option value="entertainment memorabilia">entertainment memorabilia</option>
    </select></td>
  </tr>
  <tr>
    <td><div align="right">item:
      <br/>
    </div></td>
    <td><input type="text" size="30" name="item" /></td>
  </tr>
  <tr>
    <td><div align="right">description:
      <br/>
    </div></td>
    <td><textarea name="description2" id="description" cols="30" rows="5"></textarea></td>
  </tr>
  <tr>
    <td><div align="right">attach photo:
      <br/>
    </div></td>
    <td><input type="file" name="photo" id="photo" /></td>
  </tr>
  <tr>
    <td colspan="2">
      <div align="center">
        <input value="send" type="submit" />
        </div></td>

the website address http://www.effortlesscash.co.uk

thank you

gilestalbot

sorry i missed off some code first time. this is the full version.

<form action="http://www.effortlesscash.co.uk/cgi_bin/FormMail.cgi" method="post" enctype="multipart/form-data">
      <div align="center" class="style4"><br/>
        <span class="style2">Get a quote today</span><br/>
      </div>
    </form></td>
  </tr>
  <tr>
    <td><div align="right">
      <input type="hidden" name="recipient" value="info@effortlesscash.co.uk" />
      <input type="hidden" name="subject" value="Quote Form" />
      <input type="hidden" name="redirect" value="http://www.effortlesscash.co.uk/thankyou.html" />
      name:<br/>
    </div></td>
    <td><input type="text" size="30" name="realname" /></td>
  </tr>
  <tr>
    <td><div align="right">email:      </div></td>
    <td><input type="text" size="30" name="email" /></td>
  </tr>
  <tr>
    <td><div align="right">phone:      </div></td>
    <td><input type="text" size="30" name="phone" /></td>
  </tr>
  <tr>
    <td><div align="right">category:
      <br/>
    </div></td>
    <td><select name="category" id="category">
      <option value="home electronics">home electronics</option>
      <option value="video games &amp; consoles">video games &amp; consoles</option>
      <option value="mobile phones">mobile phones</option>
      <option value="cameras">cameras</option>
      <option value="gadgets">gadgets</option>
      <option value="studio &amp; dj equipment">studio &amp; dj equipment</option>
      <option value="musical instruments">musical instruments</option>
      <option value="car electronics">car electronics</option>
      <option value="gps">gps</option>
      <option value="watches">watches</option>
      <option value="sports equipment">sports equipment</option>
      <option value="cb ham &amp; shortwave">cb ham &amp; shortwave</option>
      <option value="radio">radio</option>
      <option value="antiques &amp; collectables">antiques &amp; collectables</option>
      <option value="CDs &amp; DVDs">CDs &amp; DVDs</option>
      <option value="HD &amp; bluray">HD &amp; bluray</option>
      <option value="entertainment memorabilia">entertainment memorabilia</option>
    </select></td>
  </tr>
  <tr>
    <td><div align="right">item:
      <br/>
    </div></td>
    <td><input type="text" size="30" name="item" /></td>
  </tr>
  <tr>
    <td><div align="right">description:
      <br/>
    </div></td>
    <td><textarea name="description2" id="description" cols="30" rows="5"></textarea></td>
  </tr>
  <tr>
    <td><div align="right">attach photo:
      <br/>
    </div></td>
    <td><input type="file" name="photo" id="photo" /></td>
  </tr>
  <tr>
    <td colspan="2">
      <div align="center">
        <input value="send" type="submit" />
        </div></td>

how do i get my code withi this forum to appear with numbers down the side?

Put it inside code pseudotags, like it says in the watermark.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.