Dreamweaver CS4 - Dynamic Form Question

Hello you all.  I've been tasked with developing a form for my company that allows a user to add as many contacts into a form field as they like, i.e., they would enter a contact first and last name and then click on a "+" sign or button to add another name etc.  The "+" or Add button would shoot each name into a database and display it above the new blank field.
I am familiar with developing regular static forms but nothing dynamic like this.  I know explaining this to me from start to finish is out of the scope of this forum, but where do I start.  Does Dreamweaver CS4 have some type of widget or Java addon that will allow me to generate this type of field and then I can tackle the database setup at another time?
Any help would be much appreciated!

Have a look at the following, just copy and paste in a new document and test in a browser
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style>
.clickable {cursor: pointer;}
#fullname2 {visibility: hidden;}
</style>
</head>
<body>
<form action="" method="get">
<input name="fullname1" id="fullname1" type="text"><span id="add1" class="clickable"> +</span>
<br>
<input name="fullname2" id="fullname2" type="text">
</form>
<script src="http://labs.adobe.com/technologies/spry/includes/SpryDOMUtils.js"></script>
<script>
Spry.$$("#add1").addEventListener("click", MyOnClickHandler, false);
function MyOnClickHandler() {
     Spry.$$("#fullname2").setStyle("visibility: visible;")
</script>
</body>
</html>
Gramps

Similar Messages

  • Dreamweaver CS4 Cell border question

    Hi
    I am working on a site and have a small table on a page which is styled with CSS. Whatever I do I cannot remover the black borders to each individual cell. There appears to be no border to the table, just each cell. The page can be viewed here: <http://www.colinbowling.com/monster_banners/contact.html>. I'm using Dreamweaver CS4.
    Can anyone over me any advice as to what to do?
    Cheer
    Colin.

    First, I highly recommend reading up on CSS.  I get the impression you downloaded a template from somewhere and don't understand how to edit it.
    http://www.w3schools.com/css/
    The table is id is table2 per the code:
    <table width="787" cellpadding="5" id="table_2">
    Right now all you have in your code is:
    #table_2 {
    border: thin solid #000;
    border-collapse: collapse;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    Simply apply a style to the table2 cells as:
    #table_2 td { border: thin solid #000000; }

  • Help with Dreamweaver CS4 feedback form

    I am trying to get my first feedback form working properly.
    There are two problems:
    1. I can't click in the boxes to enter info. The only way to access them is to tab through.
    2. When I submit, it brings up a second blank feedback page in Safari. In Firefox, it just loops back to the empty feedback page.
    Any help would be appreciated as I running out of hair to pull out.
    Here is the php code:
    <?php /*
    // ------------- CONFIGURABLE SECTION ------------------------
    $mailto = '[email protected]' ;
    $subject = "Feedback Form" ;
    $formurl = "http://www.printit7.com/feedback.html" ;
    $thankyouurl = "http://www.printit7.com/thankyou.html" ;
    $errorurl = "http://www.printit7.com/error.html" ;
    $email_is_required = 1;
    $name_is_required = 1;
    $comments_is_required = 0;
    $uself = 0;
    $forcelf = 0;
    $use_envsender = 0;
    $use_sendmailfrom = 0;
    $smtp_server_win = '' ;
    $use_webmaster_email_for_from = 0;
    $use_utf8 = 1;
    $my_recaptcha_private_key = '' ;
    // -------------------- END OF CONFIGURABLE SECTION ---------------
    define( 'MAX_LINE_LENGTH', 998 );
    $headersep = $uself ? "\n" : "\r\n" ;
    $content_nl = $forcelf ? "\n" : (defined('PHP_EOL') ? PHP_EOL : "\n") ;
    $content_type = $use_utf8 ? 'Content-Type: text/plain; charset="utf-8"' : 'Content-Type: text/plain; charset="iso-8859-1"' ;
    if ($use_sendmailfrom) {
              ini_set( 'sendmail_from', $mailto );
    if (strlen($smtp_server_win)) {
              ini_set( 'SMTP', $smtp_server_win );
    $envsender = "-f$mailto" ;
    $fullname = isset($_POST['fullname']) ? $_POST['fullname'] : $_POST['name'] ;
    $email = $_POST['email'] ;
    $comments = $_POST['comments'] ;
    $http_referrer = getenv( "HTTP_REFERER" );
    if (!isset($_POST['email'])) {
              header( "Location: $formurl" );
              exit ;
    if (($email_is_required && (empty($email) || !preg_match('/@/', $email))) || ($name_is_required && empty($fullname)) || ($comments_is_required && empty($comments))) {
              header( "Location: $errorurl" );
              exit ;
    if ( preg_match( "/[\r\n]/", $fullname ) || preg_match( "/[\r\n]/", $email ) ) {
              header( "Location: $errorurl" );
              exit ;
    if (strlen( $my_recaptcha_private_key )) {
              $resp = recaptcha_check_answer ( $my_recaptcha_private_key, $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] );
              if (!$resp->is_valid) {
                        header( "Location: $errorurl" );
                        exit ;
    if (empty($email)) {
              $email = $mailto ;
    $fromemail = $use_webmaster_email_for_from ? $mailto : $email ;
    if (function_exists( 'get_magic_quotes_gpc' ) && get_magic_quotes_gpc()) {
              $comments = stripslashes( $comments );
    $messageproper =
              "This message was sent from:" . $content_nl .
              "$http_referrer" . $content_nl .
              "------------------------------------------------------------" . $content_nl .
              "Name of sender: $fullname" . $content_nl .
              "Email of sender: $email" . $content_nl .
              "------------------------- COMMENTS -------------------------" . $content_nl . $content_nl .
              wordwrap( $comments, MAX_LINE_LENGTH, $content_nl, true ) . $content_nl . $content_nl .
              "------------------------------------------------------------" . $content_nl ;
    $headers =
              "From: \"$fullname\" <$fromemail>" . $headersep . "Reply-To: \"$fullname\" <$email>" . $headersep . "X-Mailer: chfeedback.php 2.16.8" .
              $headersep . 'MIME-Version: 1.0' . $headersep . $content_type ;
    if ($use_envsender) {
              mail($mailto, $subject, $messageproper, $headers, $envsender );
    else {
              mail($mailto, $subject, $messageproper, $headers );
    header( "Location: $thankyouurl" );
    exit ;
    ?>
    Here is the form page code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Print It! Quote Form</title>
    <link href="site_styles.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
      var i,img,nbArr,args=MM_nbGroup.arguments;
      if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
          img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
          if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
          nbArr[nbArr.length] = img;
          for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = args[i+1];
            nbArr[nbArr.length] = img;
      } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
          nbArr[nbArr.length] = img;
      } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
          img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
      } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
          for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
          nbArr[nbArr.length] = img;
    //-->
    </script>
    <style type="text/css">
    <!--
    p {
              font-size: 135%;
    -->
    </style>
    </head>
    <body onload="MM_preloadImages('images/buttons/home_down.jpg','images/buttons/home_over.jpg','i mages/buttons/about_down.jpg','images/buttons/about_over.jpg','images/buttons/news_down.jp g','images/buttons/news_over.jpg','images/buttons/products_down.jpg','images/buttons/produ cts_over.jpg','images/buttons/contact_down.jpg','images/buttons/contact_over.jpg')">
    <div id="header">
      <div id="logo">
        <div align="center"><img src="images/header.jpg" alt="Welcome to Print It!" width="1024" height="231" border="0" usemap="#Map" />
          <map name="Map" id="Map">
            <area shape="rect" coords="542,125,976,205" href="mailto:[email protected]" alt="Email us!" />
          </map>
        </div>
      </div>
    </div>
    <div id="navigation">
      <div align="center">
        <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr align="center">
            <td><a href="index.html" target="_top" onclick="MM_nbGroup('down','group1','home','images/buttons/home_down.jpg',1)" onmouseover="MM_nbGroup('over','home','images/buttons/home_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/home_up.jpg" alt="Home" name="home" width="144" height="31" border="0" id="home" onload="" /></a></td>
            <td><a href="about.html" target="_top" onclick="MM_nbGroup('down','group1','about','images/buttons/about_down.jpg',1)" onmouseover="MM_nbGroup('over','about','images/buttons/about_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/about_up.jpg" alt="About Print It!" name="about" width="144" height="31" border="0" id="about" onload="" /></a></td>
            <td><a href="news.html" target="_top" onclick="MM_nbGroup('down','group1','news','images/buttons/news_down.jpg',1)" onmouseover="MM_nbGroup('over','news','images/buttons/news_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/news_up.jpg" alt="News" name="news" width="144" height="31" border="0" id="news" onload="" /></a></td>
            <td><a href="products.html" target="_top" onclick="MM_nbGroup('down','group1','products','images/buttons/products_down.jpg',1)" onmouseover="MM_nbGroup('over','products','images/buttons/products_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/products_up.jpg" alt="Products / Services" name="products" width="144" height="31" border="0" id="products" onload="" /></a></td>
            <td><a href="feedback.html" target="_top" onclick="MM_nbGroup('down','group1','contact','images/buttons/contact_down.jpg',1)" onmouseover="MM_nbGroup('over','contact','images/buttons/contact_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/contact_up.jpg" alt="Contact Print It!" name="contact" width="144" height="31" border="0" id="contact" onload="" /></a></td>
          </tr>
        </table>
      </div>
    </div>
    <div id="body-text">
      <h1>Contact us<em></em></h1>
    <p align="center">Call us at the phone number above, email us by clicking on our <br />
      email address above,
      or use this  form to request a quote. </p>
    </div>
    <div id="body-text">
      <form action="feedback.php" method="post" enctype="text/plain" name="form1" target="_blank" class="form_text" id="form1">
        <label>
          <div align="left" class="form_text">
            <p>Name
            <br />
            <input name="name" type="text" id="name" maxlength="50" />
            </p>
            <p>      Company Name <br />
            <input name="company" type="text" id="company" maxlength="50" />
            </p>
            <p>
              <label>Phone Number
                <br />
                <input name="phone" type="text" id="phone" maxlength="50" />
              </label>
            </p>
            <p>
            <label>Email Address
              <br />
              <input name="email" type="text" id="email" maxlength="50" />
            </label>
            </p>
            <p>
            <label>Preferred Response<br />
              <select name="preferred_contact" id="preferred_contact">
                <option>By Email</option>
                <option>By Phone</option>
              </select>
              <br />
              <br />
            </label>
            <strong>PROJECT INFORMATION</strong></p>
            <p>
      <label>Project Name
        <br />
        <input name="project_name" type="text" id="project_name" maxlength="50" />
      </label>
            </p>
            <p>
              <label>Quantities to Quote
                <br />
                <input type="text" name="quantites" id="quantites" />
              </label>
            </p>
            <p>
              <label>Finished Size
                <br />
                <input type="text" name="size" id="size" />
              </label>
            </p>
            <p>
              <label>
                <input type="radio" name="sides" value="one side" id="sides_0" />
              1 Side<br />
              </label>
              <br />
              <label>
                <input type="radio" name="sides" value="two sides" id="sides_1" />
              2 Sides</label>
            </p>
            <p>
              <label>Colors - Side 1
                <br />
                <select name="colors_side1" id="colors_side1">
                  <option value="Black">Black</option>
                  <option value="Spot Color">Spot Color</option>
                  <option value="Black + Spot Color">Black + Spot Color</option>
                  <option value="Full Color">Full Color</option>
                  <option value="Other">Other - Describe Below</option>
                </select>
              </label>         
            </p>
            <p>
              <label>Colors - Side 2<br />
                <select name="colors_side2" id="colors_side2">
                  <option value="Black">Black</option>
                  <option value="Spot Color">Spot Color</option>
                  <option value="Black + Spot Color">Black + Spot Color</option>
                  <option value="Full Color">Full Color</option>
                  <option value="Other">Other - Describe Below</option>
                </select>
              </label>
            </p>
            <p class="form_text">
              <label>Paper Weight
                <br />
                <input name="paper_weight" type="text" id="paper_weight" maxlength="50" />
                <br />
                <br />
                Paper Color
                <br />
                <input name="paper_color" type="text" id="paper_color" maxlength="50" />
                <br />
    <br />
                Paper Type (gloss, plain, carbonless, etc.)
                <br />
                <input name="paper_type" type="text" id="paper_type" maxlength="50" />
                <br />
    <br />
                Bindery Information (folding, perfing, etc.)
                <br />
                <textarea name="bindery" cols="100" rows="5" class="form_text" id="bindery"></textarea>
                <br />
                <br />
                Additional Information <br />
                <textarea name="additional_info" id="additional_info" cols="100" rows="10"></textarea>
                <br />
                <br />
                <input type="submit" name="Submit" id="Submit" value="Send Feedback" />
                <br />
                <br />
              </label>
              <br />
            </p>
          </div>
        </label>
      </form>
    </div>
    </body>
    </html>

    Here is the current code from the feedback page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Print It! Quote Form</title>
    <link href="site_styles.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
      var i,img,nbArr,args=MM_nbGroup.arguments;
      if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
          img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
          if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
          nbArr[nbArr.length] = img;
          for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = args[i+1];
            nbArr[nbArr.length] = img;
      } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
          nbArr[nbArr.length] = img;
      } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
          img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
      } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
          for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
          nbArr[nbArr.length] = img;
    //-->
    </script>
    <style type="text/css">
    <!--
    p {
              font-size: 135%;
    -->
    </style>
    </head>
    <body onload="MM_preloadImages('images/buttons/home_down.jpg','images/buttons/home_over.jpg','i mages/buttons/about_down.jpg','images/buttons/about_over.jpg','images/buttons/news_down.jp g','images/buttons/news_over.jpg','images/buttons/products_down.jpg','images/buttons/produ cts_over.jpg','images/buttons/contact_down.jpg','images/buttons/contact_over.jpg')">
    <div id="header">
      <div id="logo">
        <div align="center"><img src="images/header.jpg" alt="Welcome to Print It!" width="1024" height="231" border="0" usemap="#Map" />
          <map name="Map" id="Map">
            <area shape="rect" coords="542,125,976,205" href="mailto:[email protected]" alt="Email us!" />
          </map>
        </div>
      </div>
    </div>
    <div id="navigation">
      <div align="center">
        <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr align="center">
            <td><a href="index.html" target="_top" onclick="MM_nbGroup('down','group1','home','images/buttons/home_down.jpg',1)" onmouseover="MM_nbGroup('over','home','images/buttons/home_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/home_up.jpg" alt="Home" name="home" width="144" height="31" border="0" id="home" onload="" /></a></td>
            <td><a href="about.html" target="_top" onclick="MM_nbGroup('down','group1','about','images/buttons/about_down.jpg',1)" onmouseover="MM_nbGroup('over','about','images/buttons/about_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/about_up.jpg" alt="About Print It!" name="about" width="144" height="31" border="0" id="about" onload="" /></a></td>
            <td><a href="news.html" target="_top" onclick="MM_nbGroup('down','group1','news','images/buttons/news_down.jpg',1)" onmouseover="MM_nbGroup('over','news','images/buttons/news_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/news_up.jpg" alt="News" name="news" width="144" height="31" border="0" id="news" onload="" /></a></td>
            <td><a href="products.html" target="_top" onclick="MM_nbGroup('down','group1','products','images/buttons/products_down.jpg',1)" onmouseover="MM_nbGroup('over','products','images/buttons/products_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/products_up.jpg" alt="Products / Services" name="products" width="144" height="31" border="0" id="products" onload="" /></a></td>
            <td><a href="feedback.html" target="_top" onclick="MM_nbGroup('down','group1','contact','images/buttons/contact_down.jpg',1)" onmouseover="MM_nbGroup('over','contact','images/buttons/contact_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/contact_up.jpg" alt="Contact Print It!" name="contact" width="144" height="31" border="0" id="contact" onload="" /></a></td>
          </tr>
        </table>
      </div>
    </div>
    <div id="body-text">
      <h1>Contact us<em></em></h1>
    <p align="center">Call us at the phone number above, email us by clicking on our <br />
      email address above,
      or use this  form to request a quote. </p>
    </div>
    <div id="body-text">
      <form action="feedback.php" method="post" enctype="text/plain" name="form1" target="_blank" class="form_text" id="form1">
          <div align="left" class="form_text">
            <p>
            <label>Name <br />
            <input name="name" type="text" id="name" maxlength="50" />
            </label>
            </p>
            <p class="form_text">
              <label>Company Name <br />
            <input name="company" type="text" id="company" maxlength="50" />
            </label>
            </p>
            <p class="form_text">
              <label>Phone Number
                <br />
                <input name="phone" type="text" id="phone" maxlength="50" />
              </label>
            </p>
            <p class="form_text">
              <label>Email Address
              <br />
              <input name="email" type="text" id="email" maxlength="50" />
            </label>
            </p>
        <p class="form_text">
              <label>Preferred Response<br />
              <select name="preferred_contact" id="preferred_contact">
                <option>By Email</option>
                <option>By Phone</option>
              </select>
              <br />
              <br />
            </label>
            <strong>PROJECT INFORMATION</strong></p>
            <p class="form_text">
              <label>Project Name
        <br />
        <input name="project_name" type="text" id="project_name" maxlength="50" />
      </label>
            </p>
            <p class="form_text">
              <label>
             Quantities to Quote
                <br />
                <input type="text" name="quantites" id="quantites" />
              </label>
            </p>
            <p class="form_text">
              <label>Finished Size
                <br />
                <input type="text" name="size" id="size" />
              </label>
            </p>
            <p>
              <label>
                <input type="radio" name="sides" value="one side" id="sides_0" />
              1 Side<br />
              </label>
              <br />
              <label>
                <input type="radio" name="sides" value="two sides" id="sides_1" />
              2 Sides</label>
            </p>
            <p class="form_text">
              <label>Colors - Side 1
                <br />
                <select name="colors_side1" id="colors_side1">
                  <option value="Black">Black</option>
                  <option value="Spot Color">Spot Color</option>
                  <option value="Black + Spot Color">Black + Spot Color</option>
                  <option value="Full Color">Full Color</option>
                  <option value="Other">Other - Describe Below</option>
                </select>
              </label>         
            </p>
            <p class="form_text">
              <label>Colors - Side 2<br />
                <select name="colors_side2" id="colors_side2">
                  <option value="Black">Black</option>
                  <option value="Spot Color">Spot Color</option>
                  <option value="Black + Spot Color">Black + Spot Color</option>
                  <option value="Full Color">Full Color</option>
                  <option value="Other">Other - Describe Below</option>
                </select>
              </label>
            </p>
            <p class="form_text">
              <label>Paper Weight
                <br />
                <input name="paper_weight" type="text" id="paper_weight" maxlength="50" />
                </label><br />
               <p class="form_text">
              <label>Paper Color
                <br />
                <input name="paper_color" type="text" id="paper_color" maxlength="50" />
                </label>
                </p>
    <p class="form_text">
              <label>Paper Type (gloss, plain, carbonless, etc.)
                <br />
                <input name="paper_type" type="text" id="paper_type" maxlength="50" />
                </label>
                </p>
                <p class="form_text">
              <label>Bindery Information (folding, perfing, etc.)
                <br />
                <textarea name="bindery" cols="100" rows="5" class="form_text" id="bindery"></textarea>
                </label>
                </p>
                <p class="form_text">
              <label>Additional Information <br />
                <textarea name="additional_info" id="additional_info" cols="100" rows="10"></textarea>
                </label>
                </p>
                <br />
                <input type="submit" name="Submit" id="Submit" value="Send Feedback" />
                <br />
                <br />
              </label>
              <br />
            </p>
          </div>
      </form>
    </div>
    </body>
    </html>

  • Learning dreamweaver cs4 before cs5.5

    I have recently taken a course in dreamweaver cs5.5 at college and also have dreamweaver cs5.5 on my home computer and I am just messing about learning to hopefully one day do web design as a permanent job. I got offered to do a course today at a dramatically reduced price. It is only £99 for a course that usually costs £1200. It is all distance learning so over the Internet but has 12 months support and over 500 hours of training content but the only thing is that the course teaches dreamweaver cs4 and my question really is will this be beneficiall learning that version of dreamweaver?

    I find it interesting that the course syllabus was not yet updated to CS5 or CS5.5.
    Maybe that explains the "discounted" tuition??
    I think you should take the appropriate course for your version of DW.  You can do that at minimum expense ($25/month) at at Lynda.com
    http://www.lynda.com/Dreamweaver-CS5-tutorials/essential-training/58712-2.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Dreamweaver CS4 - Record Insertion Form js error

    Hi
    I'm dreamweaver cs4 and started using the Record Insertion form, I was mainly experimenting with it and just seeing what it could do.
    However when I get to the wizard i have to wait a few seconds for it to connect to the database and then I get an error message that says:
    While executing onLoad in ServerObject-InsRecPHP.htm, the following Javascript error(s) occured:
    At line 283 of the file "Macintosh HD:Application:Adobe Dreamweaver
    CS4:Configuration:Commands:ServerObject-FormCmnPHP.js":
    invalid array length
    I was just wondering if this was a common problem, or I've messed something up either in Dreamweaver, or in the SQL database that I'm using.
    I've also noticed that its the same for Update and Delete Records Wizards aswell.
    Any help would be greatly appreciated
    Aaron Kennedy

    I see it's your first post. Welcome to the forum.
    A good place to start looking for answers is the Dreamweaver FAQ. You'll find the answer to your question under "Crashes, installation, JavaScript, and unexplained problems".

  • Forms with Dreamweaver CS4?

    Hi All,
    Does anyone have a link or tutoral on how to create a form in Dreamweaver CS4. I need to make a "Request a Catalog" Form.
    I especially might need the most help on figuring out on how to receive the info thru my email.
    many thanks,
    Alex

    HTML forms don't do anything without an Action.  You can use Mailto: but this is just asking for Spam and limits the usefulness of your form.  Your best solution is to use a form processing script with spam controls built in.
    Ask your host if they offer any form-to-email processing scripts you can use... or which flavor script you can use on your server (PHP, ASP, ASP.net, ColdFusion, etc...)
    Form Services and Script generators
    http://wufoo.com/
    http://www.bebosoft.com/products/formstogo/overview/
    FormMailer.PHP script
    http://dbmasters.net/index.php?id=4
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Dynamic swf file into dreamweaver cs4

    Good evening to all,
    Can a basic slide show created in Flash cs4 using as2 to load the images dynamically be inserted into a Dreamweaver cs4 page ?
    The swf file shows up but I can't figure out where to put the linking images so the 2 basic "next" and "previous" buttons work ?  
    Thank as always,
    Fred...

    When you load the swf file into the html page, that becomes the swf's reference for loading files.  So if your structure has a folder containing the html file and another folder for the flash file and another folder for the images, as in...
    main_folder...
         - html file
         - flash folder
              - - flash file
         - images folder
              - - image files
    then you need to change where the swf file is looking for the images because when it is in the html page, that is essentially the folder it is trying to get the images to load thru.
    For instance, if you originally tested using Flash with the swf file targeting the images using...
    "../images/imagefile.jpg"
    (or something like that... those dots confuse me at times)
    and the structure is as I described, then when testing in the html file the targeting would need to be changed to...
    "images/imagefile.jpg"
    Just think of the swf file as living in the html file's folder as far as targeting any files it needs to load, because once it is loaded into that page, it has basically moved to that new location.

  • Question about Dreamweaver CS4 Preview in Browser

    Good morning,
    as a newcomer to Dreamweaver CS4, I find myself in a strange position: I managed to create several pages that work correctly, but whenever I transfer those pages in the server of the company I work for, they show up with a different format for the text parts, and the divs show up as shorter than they should be. And yet, I pretty much copy-and-pasted the original working html pages from my C to the server... why does this problem happen?
    Thank you very much.

    I can't really say without seeing your code. But some things that may cause issues:
    - make sure your code is valid by running it through a validator: http://validator.w3.org/ and fixing any issues noted
    - Some older versions of IE have a different way of handeling the box-model concept and this can cause sizing and layout issues. You can read all about it on the internet.
    But I would focus on making sure your code is valid - most rendering issues are caused by invalid code like missing closing tags, improperly nested elements, etc.

  • Photo Website question using Dreamweaver CS4

    Is it possible using Dreamweaver CS4 to create a website for a photos?
    I've been using iWeb and I want to make a better looking website for my photos.
    Thanks

    Create your layout in Dreamweaver and then there's plenty of resources available to image galleries, slide shows etc:
    A lot of good ideas here:
    http://www.1stwebdesigner.com/resources/57-free-image-gallery-slideshow-and-ligh tbox-solutions/
    LightBox 2
    http://www.lokeshdhakar.com/projects/lightbox2/
    FLOATBOX:
    http://randomous.com/floatbox/demo
    Phatfusion lightbox - photos, flash
    http://www.phatfusion.net/multibox/
    PrettyPhoto:
    http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/
    Scrolling Images
    http://sorgalla.com/jcarousel/
    Image gallery
    http://www.simpleviewer.net/simpleviewer/
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    http://twitter.com/nadiap

  • Remove scroll bars in dynamic form

    Hi all,
    I'm starting to kick myself every time I put a post here.  Apologies and thank you for everyone's help - slowly but shortly I'll be one of the people answering the questions.
    Really easy one (I think).  A have a dynamic form, which updates a dynamic list.  Is there a way to alter a text area in the dynamic form, so that it is a fixed area  i.e. when you get to the end of the line/characater usage, the cursor goes down to the next line rather than creating a horizontal scroll bar and running forever into the distance.  I have played around with Wrap options without luck, the css doesn;t seem to play much of a part as this is an actual text area in Dreamweaver as opposed to a CSS clipping in the list.
    Thanks again,
    Nathan

    NJFuller wrote:
    Perfect! Thank you Albert.  Is it possible to add virtual wrap to a box in a dynamic list?  As that is not presented in a normal html form'ish style way.....?
    Hi Nathan,
    as a Dynamic List displays pure text only, you´ll need to help yourself by formatting the displayed column using PHP. There are several ways to add "virtual" line breaks, and the most straightforward (though certainly not the most elegant) solution would be to apply the PHP function wordwrap which wraps a string to a given number of characters.
    The following example will wrap the text after 40 chars, and the "wordwrap" function will - as always - have to replace ADDT´s default "KT_FormatForList" function:
    <?php echo wordwrap($row_rsqueryname1['columnname'], 40, "<br />\n"); ?>
    Cheers,
    Günter

  • Dreamweaver CS4 start-up problem solved; shutdown crash not solved

    FYI - I learned very quickly that Dreamweaver CS4 will not launch at all (no splash screen, nothing) with setpoint.exe running in the background. Setpoint.exe is a Logitech mouse/keyboard manager. Shut it down and DW launches fine.
    Shutdown, however, is driving me crazy. When closing out DW (File > Exit or X-out), the app closes, then about fifteen seconds later, I get an error dialog that DW has crashed. 0xc0000005 error (memory access violation).

    Hi Stan,
    Thanks for responding.
    Truth be told, I got so focused on the Encore problem, it didn't occur to me to see whether Media Encoder was still functioning properly on my machine.
    At any rate, I did byte the bullet, and re-install Encore, and the problem in question went away.  Interestingly enough, when you opt to re-install Encore, CS4 automatically re-installs Media Encoder as well, so I guess the two programs are pretty tightly joined at the hip.  Not surprising, perhaps, since I suspect that Encore is in some ways just a special case of Media Encoder, at least as far as the transcoding is concerned.
    Of course, once I got Encore up and running, I tried to bring over a very, very small sequence from Premiere Pro and build it, and Encore crashed again (In PproHeadless.exe call to  ImageRender.dll).  Frustrating, since as a newbie all I'm trying to do is understand how the sequence settings I'm using in Premiere translate into final DVD output.  The project I am working on involves a mixture of still images and short video clips culled from many sources in many formats, and my first renders in Premiere yielded lots of letterboxing (I'm learning the hard way about pixel aspect ratios and the like).  As such, I figured before I built too many sequeneces, I should find a set of settings and work procedures that yield good results.
    I used dynamic linking to bring over my sequence from Premiere, and I'm thinking that perhaps having both Encore and Premiere open at the same time requires too many resources on my limited system.  Time to go figure out other options for moving sequences from Premiere over to Encore to see if that is in fact the issue.
    -PtCruiser105

  • Dreamweaver CS4 and PHP require_once, require, include_once, include absolute paths

    I have a question about Dreamweaver CS4's new functionality that lists required and included files in a second row below the name of the file you are currently editing. It's handy.
    I see that Dreamweaver attempts to list all the included files for a given page so that it is easier to find and edit those files.
    For example.  If I had a HTML document called index.html that linked to a CSS document called style.css, when I open index.html, Dreamweaver CS4 lists style.css in a row below index.html.
    My problem is this.  This new functionality works on absolute paths and relative paths for HTML elements. For example, it can find and link to CSS files regardless of if the src tag is relative  or absolute (/css/style.css)
    REFRESHER: absolute paths start with a "/" as in "/css/style.css" and relative paths do not start with a "/" as in "css/style.css" or "../../css/style.css"
    However, PHP files that are linked to the current page via require, require_once, include, or include_once, only appear to work if you use a relative path.
    So this would work in Dreamweaver:
    require_once('../lib/config.php');
    But this would not
    require_once('/home/matt/mydomain.com/html/lib/config.php');
    As any PHP developer knows, you are never supposed to use relative paths with included or required files.  Especially if your site has multiple levels of sub directories.  Relative paths are relative to the calling php document.  It causes a bunch of problems.  I can explain how if you want.
    How can I tell Dreamweaver that the base directory on my apache web server for my domain...
    /home/matt/mydomain.com/html/
    ... is the equivalent of the base directory on my home computer where dreamweaver accesses my files.
    C:\Users\Matt\Documents\My Websites\mydomain.com\
    So that when I write...
    require_once('/home/matt/mydomain.com/html/lib/config.php');
    ... how can I force dreamweaver understand that "/home/matt/mydomain.com/html/" is the same as "C:\Users\Matt\Documents\My Websites\mydomain.com\" on my home computer. So that way, this new Dreamweaver CS4 submenu feature can find and link to the correct file.
    Essentially, can I define Dreamweaver "include paths" for Dreamweaver to search in if the file I'm trying to include is not in the same directory?

    athensmusician wrote:
    As any PHP developer knows, you are never supposed to use relative paths with included or required files.
    Perhaps you ought to inform the PHP documentation team. All the examples in the PHP manual use relative paths.
    Essentially, can I define Dreamweaver "include paths" for Dreamweaver to search in if the file I'm trying to include is not in the same directory?
    Dreamweaver parses only relative paths in PHP includes. The Related Files feature was a new addition in Dreamweaver CS4, so it's not 100% perfect. Having the ability to define your own include_path for Dreamweaver to parse would be a useful improvement. Make your voice heard by submitting a feature request through the form at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform.

  • Dynamic form "Cancel" redirect  problem in frames - bugfix?

    My question: Is there a "long run" down side to my implementing this modification to style.js?
    The below post by Ionut:MX Division Support Specialist worked for me as a solution to a current form "click cancel" redirect navigation problem:
    When a DWtoolbox dynamic form wizard form is placed on a page within frames, clinking on cancel does not return a user to the list that sent them to the form. The user is sent somewhere else.
    Begin Ionut post-------------
    If you don't need to add extra parameters to the "Edit" button, you can solve the redirect problem by editing the "/includes/skins/style.js" file and replace:
    nxt_list_edit_link_form(this, myinput.previousSibling.href);
    with:
    nxt_list_edit_link_form(this, a.href);
    End----------------------
    Thanks Ionut for the tip and anyone in support for letting me know if this is a safe mod for the long run,
    Steve M

    Hi Marny,
    Hello Steve. I am new to Adobe & very confused. You seem to grasp the program very nicely, please help Me?
    I´m not not Steve, however -- what problem do you have exactly, and is this problem related to the "Adobe Dreamweaver Developer Toolbox" extension or related to Dreamweaver ?
    If it´s related to ADDT, please describe your problem by starting a new thread -- if it´s related to Dreamweaver, please post your questions in the general Dreamweaver forums.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Does Dreamweaver CS4 run on...

    Hi,
    It's just a really simple question - does Dreamweaver CS4 run of windows 7 64 bit, or at all all the adobe programs such as flash etc?
    Thanks,
    Josh

    Lullie123456789012345 wrote:
    Does Dreamweaver run under Windows 7? No, not very well. Our experience
    was that it's broken all over the place. File dialogs are not working correctly, images are not placed correctly and a whole bunch of other issues under Windows 7. Read through the forum here and you will see all kinds of problems. We've had to switch to Microsoft Expression Web because of all the issues. We can't wait another year for Adobe to release CS5 or simply fix all the issues. We're trying to run a business here. We prefer Windows 7 over the choice of keeping Dreamweaver CS3 and CS4. Couldn't deal with all the problems.
    Good luck to you all.
    Wow, 2 posts and all you do is complain?  Any business that has an IT department that employs a system-wide OS upgrade to a newly released OS without having the software tested or having backups made and forces the company to switch from one software suite to another costing the company needless time and money needs to have that IT department fired.
    BTW, there are a few bugs with having to manually type paths, but Adobe has said they will patch the software for any bugs with the new operating systems ( Snow Leopard or Windows 7).  These things don't happen overnight either.  If you notice a bug the only way it will get fixed is to submit a request ( Adobe - Feature Request/Bug Report Form ).  Otherwise if your company has the time and money to switch over like lillie then you can switch to another application.

  • Dreamweaver CS4 unexpectedly quits

    HI,
    Dreamweaver CS4
    iMac 10.6.8
    4 GB RAM
    Recently Dreamweaver crashes all the time - in a working day could happen up to 9-12 times.
    I already did a “clean install” for CS4 twice and I clean the cache files, delete the preferences and it still unexpectedly quits = losing all the work and I have to start over.
    Most of the time Dreamweaver does not remember on what site I was working on, nor the workspace (or the encoding set).
    Using Activity Monitor (the small pie on the dock), I noticed that the application is gradually using more and more of my RAM - until it's out of RAM, more than 2GB, and then crashes... Dreamweaver is a text editor application, that supposedly doesn't need a lot of RAM...
    Please advice:  why is it doing this, and how so I stop it, so I can work normally again? 
    Thank you,
    Or

    Please advice:  why is it doing this, and how so I stop it, so I can work normally again? 
    I know absolutely nothing about Appale MAcs but in a windows system if this happens then it is a clear sign that the Application in question has been corrupted either by some viruses or some other form of malwares.  The only way to resolve this is first to scan the system with a good Anti-Virus product like Microsoft Security Essentials (free from M$).  Second you need to reinstall the product but before you can do this, you need to remove all the registry entries so that the product can be re-installed on the same system.  This is a tricky area and because it does not apply to you, I won't bother you with the details.  You also need to de-activate the product so that Adobe can re-activate for you after the re-install process otherwise Adobe servers might think you are trying to cheat them by re-installing on another system without any authority.
    Now all this is completely useless to you because you don't use Windows system.  Perhaps somebody can post details about Apple Macs.  Wales lost in Rugby to France and ManU are no longer leading the premiership in the UK.
    Good luck.

Maybe you are looking for