1 Reply Latest reply on Feb 4, 2010 12:59 PM by bregent

    initial value on a form field "disappear"?

    dakota222

      Hi how i can do initial value" on a form field "disappear" once I place the cursor  inside it and dessepear when im out with my cursor putting in other texfield

      etc.

      hows is posible .in dreamweaver.

      this is my form until now.

       

      <form action="FormToEmail.php" method="post" name="FormToEmail" target="_self" id="FormToEmail" onsubmit="MM_validateForm('name','','R','email','','RisEmail','comments','','R');return document.MM_returnValue">
              <p>
                <label>Name</label>
                </p>
              <p>
                <input name="name" type="text" class="contact_form" id="name" value="Name here" />
                </label>
              </p>
              <p>
                <label>E-mail</label>
                </p>
              <p>
                <input name="email" type="text" class="contact_form" id="email" value="E-mail here" />
                </label>
              </p>
              <p>
                <label>Comments</label>
                </p>
              <p>
                <textarea name="comments" cols="20" class="contact_form" id="comments">Comments here</textarea>
                <br />
                <br />
                <input type="image" src="graphic/buttonimage.gif" alt="Submit button" />
              </p>
              </form>

       

      thank you