5 Replies Latest reply on Jun 14, 2008 4:02 PM by motleyscrewed

    Problems creating basic forms in DW CS3

    investix
      Hey I'm having some real headaches here getting my form to work in DW CS3. Take a look at www.investix.co.uk/booking-form.html....as you can see I've got my form all set up with all the text fields and buttons that I need ready to go and process the form data entered by the user and then email this form data to me.

      Now here's the problem...the form code that I'm using just won't work! Everytime I enter test data and click Submit button, nothing happens. I have a booking confirmation page at www.investix.co.uk/thank-you.html which I want to direct users to once they have clicked the Submit button.

      The form code I've got in DW is below.......so the 2 things I need to figure out is first how to make this code work so I can capture all the form data and then have it emailed to me, and secondly to divert users to the booking confirmation page (www.investix.co.uk/thank-you.html) once they have clicked the Submit button.

      I need to get this problem fixed asap guys (like this weekend!), so I would greatly appreciate everyone's help on this. Any comments on the overall quality of the website are also welcome!

      <table width="427" border="0">
      <tr>
      <td width="140"><span class="style24 style37 style42">
      <form name="form1" method="post" action=" http://fp1.formmail.com/cgi-bin/fm192">
      <input type="hidden" name="recipient" value="gareth@investix.co.uk">
      <input type="hidden" name="_fid" value="7T9PBG2C">
      <input type="hidden" name="_pid" value="92505">
      </form>
      Name</span></td>
      <td colspan="2"><span class="style37">
      <input name="Name" type="text" id="Name" size="30" />
      </span></td>
      </tr>
      <tr>
      <td><span class="style24 style37 style42">Email</span></td>
      <td colspan="2"><span class="style37">
      <input name="Email" type="text" id="Email" size="30" />
      </span></td>
      </tr>
      <tr>
      <td><span class="style24 style37 style42">Confirm Email</span></td>
      <td colspan="2"><span class="style37">
      <input name="Confirm Email" type="text" id="Confirm Email" size="30" />
      </span></td>
      </tr>
      <tr>
      <td><span class="style24 style37 style42">Telephone</span></td>
      <td colspan="2"><span class="style37">
      <input name="Tel" type="text" id="Tel" size="30" />
      </span></td>
      </tr>
      <tr>
      <td valign="top"><span class="style24 style37 style42">Address</span></td>
      <td colspan="2">
      <textarea name="Address" cols="30" rows="4" id="Address"></textarea>
      <p class="style24 style37"> </p></td>
      </tr>
      <tr>
      <td valign="top"><span class="style24 style37 style42">I wish to attend</span></td>
      <td colspan="2"><p class="style24 style42 style37 style68">
      <input type="radio" name="radio" id="London Green Park 9th Jun 6.30pm" value="London Green Park 9th Jun 6.30pm" />
      <label for="London Green Park 9th Jun 6.30pm">London Green Park 9th Jun 6.30pm</label>

      </p>
      <p class="style24 style42 style37 style68">
      <input type="radio" name="radio" id="radio" value="radio" />
      <label for="radio">London Green Park 10th Jun 6.30pm</label>
      </p>
      <p class="style24 style42 style37 style68">
      <input type="radio" name="radio2" id="radio2" value="radio2" />
      London Green Park 12th Jun 6.30pm </p>
      <p class="style24 style42 style37 style68">
      <input type="radio" name="radio3" id="radio3" value="radio3" />
      London Green Park 16th Jun 6.30pm</p>
      <p class="style24 style42 style37 style68">
      <input type="radio" name="radio4" id="radio4" value="radio4" />
      London Green Park 17th Jun 6.30pm </p>
      <p class="style24 style37 style42">  </p></td>
      </tr>
      <tr>
      <td><span class="style24 style42">Number of attendees:</span></td>
      <td colspan="2"><select name="Attendees" id="Attendees">
      <option value="1">1</option>
      <option value="2">2</option>
      <option value="3">3</option>
      <option value="4">4</option>
      </select> </td>
      </tr>
      <tr>
      <td rowspan="2" valign="top"><span class="style24"><span class="style61">How did you hear about us</span>?</span></td>
      <td colspan="2"><input name="Lead" type="text" id="Lead" value="" size="30" /></td>
      </tr>
      <tr>
      <td width="63"><input type="submit" name="Submit Form" id="Submit Form" value="Submit" /></td>
      <td width="210"><input type="submit" name="Reset Form" id="Reset Form" value="Reset" /></td>
      </tr>
      </table>