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">
      <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"/>
      <th scope="row"><label for="email">Email:</label></th>
      <td><input type="text" name="email" id="email" required="required"/></td>
      <th scope="row"><label for="cell">Cell:</label></th>
      <td><input type="text" name="cell" id="cell" required="required"/></td>
      <th scope="row"><label for="available">Availability:</label></th>
      <td><input type="text" name="available" id="available" 

      <th scope="row"><label for="promo">Promotion Code:</label></th>
      <td><input type="text" name="promo" id="promo" /></td>
      <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>
      <th scope="row"><label for="comments">Comments:</label></th>
      <td><textarea name="comments" id="comments" cols="45" 


Recommended Answers

All 4 Replies

Member Avatar

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

can you show me how that is supposed to look? :) Thanks

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

  <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 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 label="Other">
    <option value="other">Other - please explain your needs in the comments section</option>

Or where would I enter this code?

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

Be a part of the DaniWeb community

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