0

How can I input coding for this table contact form that I created in dreamweaver to have dropdown option values? Here is my code:

<form action="" method="post">
  <table width="600" border="1" cellspacing="2" cellpadding="0">
    <tr>
      <th width="170" scope="col"><label for="name">Name:</label></th>
      <th width="428" scope="col"><div align="left">
        <input type="text" name="name" id="name" required="required"/>
      </div></th>
    </tr>
    <tr>
      <th scope="row"><label for="email">Email:</label></th>
      <td><input type="text" name="email" id="email" required="required"/></td>
    </tr>
    <tr>
      <th scope="row"><label for="cell">Cell:</label></th>
      <td><input type="text" name="cell" id="cell" required="required"/></td>
    </tr>
    <tr>
      <th scope="row"><label for="available">Availability:</label></th>
      <td><input type="text" name="available" id="available" 

required="required"/></td>
    </tr>
    <tr>
      <th scope="row"><label for="promo">Promotion Code:</label></th>
      <td><input type="text" name="promo" id="promo" /></td>
    </tr>
    <tr>
      <th scope="row"><label for="topic">Topics:</label></th>
      <td><input type="text" name="topic" id="topic">
      <option value="Select Package Here">Seclect Package Options Here</option>
      <option value="Head Shots 45.00">Head Shots 45.00</option>
      <option value="1 Hr Session 75.00">1 Hr Session 75.00</option>
      <option value="2 Hr Session 120.00">2 Hr Session 120.00</option>
      <option value="Event/Wedding/etc">Event/Wedding/etc</option>
      <option value="Promo Code 50% Off">Promo Code 50% Off</option>
      <option value="Other - Explain Below">Other - Explain Below</option>
    </select>
    </tr>
    <tr>
      <th scope="row"><label for="comments">Comments:</label></th>
      <td><textarea name="comments" id="comments" cols="45" 

rows="5">
2
Contributors
4
Replies
5
Views
4 Years
Discussion Span
Last Post by Ayinainsoph
0

you're missing an open <select> tag before the options.

0

also how would i be able to embed this for the drop down for options?

<select>
  <optgroup label="Photography Options">
    <option value="headshots">Head Shots 2 edited images $45.00</option>
    <option value="1hrstudiosession">1 hr Studio session 5 edited images $60.00</option>
    <option value="2hrstudiosession">2 hr studio session 12 edited images $120.00</option>
    <option value="2hrevent">2 hr Event Coverage 20 edited images $300.00</option>
    <option value="4o6hrevent">4 - 6 hr Event Coverage 30 edited images $400-$550.00</option>
    <option value="wedding">Prices vary based on needs of client, please email me for price</option>
    <option value="retouch">Photo Retouching or Repairs $10.00</option>
  </optgroup>
  <optgroup label="Design Options">
    <option value="logo">Business or Personal Logo - Hi Res Graphic logo $300.00</option>
    <option value="1pgweb">1 Paged website customizable and professional lay out $180.00</option>
    <option value="2o3pgweb">2 to 3 Paged website customizable to your needs $275-$400.00</option>
    <option value="4omweb">Website with pages 4 and over please email me for prices</option>
    <option value="fbflash">1 Flash page for your Facebook Page, attract more clients $180.00</option>
  </optgroup>
  <optgroup label="Other">
    <option value="other">Other - please explain your needs in the comments section</option>
  </optgroup>
</select>

Or where would I enter this code?

Edited by Ayinainsoph

0

actually I just saw where I missed the <select> tag you mentioned. Thanks for your help :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.